Overwriting or redefining doesn't raise an error

Issue #57 resolved
Takashi Kato repo owner created an issue

This should raise an error

#!r6rs
(library (foo)
    (export bar)
    (import (core))
  (define bar 'bar))

(library (bar)
    (export buz)
    (import (core) (foo))
  (define bar 'bar)
  (define buz 
    (begin
      (set! bar 'foo)
      'buz)))

I think this doesn't work since 0.5.0.

Comments (1)

  1. Takashi Kato reporter

    Pull up cond-expand for check-direct-variable (Fixes #57) Modified precompile to load the compiler with only '(sagittarius) feature (scheme base) now doesn't overwrite variables Loading a file uses allow-overwrite as its flag fow now.(FIXME)

    → <<cset ce7f8a8820ca>>

  2. Log in to comment