pharo-project / pharo-vm

This is the VM used by Pharo
http://pharo.org
Other
115 stars 71 forks source link

Slang should not allow asserta: to be used outside of a top level statement #787

Open guillep opened 7 months ago

guillep commented 7 months ago

asserta: returns the asserted value and should be used as a statement, only as a statement. For statements we should use always assert:.

Slang should control this at compile time.