-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Before running any simulation we should run all rules once in a contained environment and give sensible errors/warnings for any problems with them. Instead of having them buried in the middle of a complicated optimisations of the simulation as they are currently.
- make sure rules have the correct output types if they have output.
- make sure rules only access existing
AuxandGriddata. Probably we can do this with AST analysis of theapplyrulefunction. - Check anonymous functions for boxed variables and warn/error
- we can run rules on the max and min values present in their init grids, and stencils from the locations of these values for neighborhoods.
- test type stability and inference by default, but only throw a warning if it is lacking.
We also need a flag to turn this off.
Metadata
Metadata
Assignees
Labels
No labels