metaborg / stratego

Apache License 2.0
10 stars 7 forks source link

Import lib-sglr in Stratego editor analysis #3

Closed Apanatshka closed 6 years ago

Apanatshka commented 6 years ago

Since it's always compiled and loaded with a Stratego project in Spoofax and defines lowercase nullary constructors. Through this import the analysis is aware of this and will warn against using those nullary constructors as variable names (a common footgun, especially since lib-sglr has lowercase nullary constructors such as left and right).