You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a whole class of errors like these. The issue is that the code that converts from the CFG to a configuration object runs regardless of whether the static semantics finds any errors. The reason for this is that I'd like to be able to produce a configuration object even in case of errors (i.e., error recovery).
However, that would require many error checks across the entire conversion code, so maybe this was a bad idea and this should be reverted. That would require splitting out errors that are produced on the Java side (e.g., whether directories/files exist) to separate code that does run alongside static semantics, and the conversion code which can assume that all checks have passed.
Summary
Setting an invalid
main-source-directory
in spoofaxc.cfg results in an exception.What you did
What you expected to happen
Statix error.
What actually happened
Context
The text was updated successfully, but these errors were encountered: