AlloyTools / org.alloytools.alloy

Alloy is a language for describing structures and a tool for exploring them. It has been used in a wide range of applications from finding holes in security mechanisms to designing telephone switching networks. This repository contains the code for the tool.
Other
711 stars 123 forks source link

Warn the user about in-line implicit conjunctions #212

Closed nmacedo closed 7 months ago

nmacedo commented 1 year ago

In-line implicit conjunctions are a source of confusion and give rise to tricky specification errors. We've discussed the possibility to either throw an error or give a warning to the user when they are used. Both are doable, which should we implement?

grayswandyr commented 1 year ago

Issue a warning. Show how it's parsed.

nmacedo commented 1 year ago

Would this work?

Screenshot 2023-04-15 at 14 55 11
grayswandyr commented 1 year ago

Perfect!