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
695 stars 124 forks source link

Different scope defaults when not using `run` #144

Closed hwayne closed 1 year ago

hwayne commented 3 years ago

Given

sig Foo {}

Modelfinding that is equivalent to run {} for 4. Given

sig Foo {}
run {}

Modelfinding that is equivalent to run {} for 3.

nmacedo commented 3 years ago

I've also faced this issue and took me a while to figure it out, I can submit a fix if the maintainers agree.

grayswandyr commented 2 years ago

+1

pkriens commented 2 years ago

@nmacedo was this fixed?

nmacedo commented 1 year ago

Fixed for 6.2.