Loss of location in (library) code

2020-11-15 Thread manday
As discussed on #guile, we tried for a "possibly unbound variable" warning, on Guile 3.0.4: When the offending form is somewhere in a RnRS module or Guile library, the warnings give inconsistent line numbers. For instance: (library (test) (export f) (import (rnrs)) (define (f x) (if x (

Re: Loss of location in (library) code

2020-11-15 Thread manday
I apologize for an editing mistake in the earlier mail. It was supposed to read: "[...] When the offending form is somewhere in an __RnRS library__, the warnings give inconsistent line numbers. [...]" The problem does not occur if Guile's modules are used (and the code thus placed at the exteri