pharo-project / pharo-vm

This is the VM used by Pharo

Home Page:http://pharo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

guillep opened this issue · comments

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.