make assignment-before-initialization an error

Recent changes made use-before-initialization an error for
`letrec` bindings, `class` fields, and `unit` definitions.
Now, assignment-before-initialization is also an error.

original commit: 22b48e03c84305068c76881c8b0ab0d25d9273de
This commit is contained in:
Matthew Flatt 2014-04-16 11:25:47 -06:00
parent 3b079c5c86
commit bdc9416c8a

View File

@ -2719,6 +2719,7 @@
;; Section 17.4 (Unsafe Undefined)
[check-not-unsafe-undefined (-poly (a) (-> a -Symbol a))]
[check-not-unsafe-undefined/assign (-poly (a) (-> a -Symbol a))]
;; Section 18.2 (Libraries and Collections)
[find-library-collection-paths (->opt [(-lst -Pathlike) (-lst -Pathlike)] (-lst -Path))]