[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Libraries that are referenced more than once



On Thu, Jan 30, 2014 at 11:33 PM, Marc Nieper-Wißkirchen <marc.nieper@x> wrote:

Here, I do not export `keyword` in `macro-library`. I would have thought that in this case outside of `macro-library', the macro cannot be used without errors because the argument to `macro` can never have the same binding as `keyword` in `macro-library`. Nevertheless, the example still prints 42 in chibi-schemen even when compiled with `SEXP_USE_STRICT_TOPLEVEL_BINDINGS=1`.

I believe the intention of that option was to still allow
one-sided mismatches, and only fail if the identifier
resolved to a distinct and different binding.

I haven't tested that option in a while and it's currently
broken at head, so I'll have to investigate it later.
Consider it a bug in Chibi - I've added that to the build
configurations test so it must be fixed before the
next release.

-- 
Alex

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports