forked from alex-eg/sex
test what record, ops, sum and match refuse
The diagnostics are what these forms are for -- a match that leaves a variant out is the thing C cannot say -- and until now every one of them was checked by hand and none by the suite. The two registries refuse a second declaration of one name, which is per translation unit and not per process, so semen-process clears them on the way in. sexc compiles one file per process and never noticed; a suite that compiles forty in one did.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
(include "utils.scm")
|
||||
(include "line-directives.scm")
|
||||
(include "codegen.scm")
|
||||
(include "encapsulation.scm")
|
||||
(include "args.scm")
|
||||
(include "types.scm")
|
||||
(include "infer.scm")
|
||||
|
||||
Reference in New Issue
Block a user