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
I was experimenting with enforcement rules in RAP4, when suddenly I got a fatal error. Since the script was without type errors, I expected it to pass fluently through the compiler.
The screenshot tells the entire story:
This is a fatal error, so this clearly is a bug.
Reproducing the error
Log in to https://rap.tarski.nl
Create a new script with the following contents:
CONTEXT Issue1419
CLASSIFY Ss ISA S
CLASSIFY Uu ISA U
RELATION r[S*T]
RELATION s[T*U]
RELATION t[Ss*Uu]
ENFORCE t >: r;s
ENDCONTEXT
Compile this script
Lo and behold, the fatal error appears.
Symptoms
In a first attempt to analyze this error, I noticed that the following script compiles without errors:
CONTEXT Issue1419
CLASSIFY Ss ISA S
CLASSIFY Uu ISA U
RELATION r[S*T]
RELATION s[T*U]
RELATION t[Ss*Uu]
ENFORCE t >: I[Ss];r;s;I[Uu]
ENDCONTEXT
The text was updated successfully, but these errors were encountered:
This obviously is a typecheck error, similar to the one @sjcjoosten fixed with #1392. As he commented in that PR, he said that there were probably fewer errors than before. @sjcjoosten , could you please have a look at this new bug?
What happened
I was experimenting with enforcement rules in RAP4, when suddenly I got a fatal error. Since the script was without type errors, I expected it to pass fluently through the compiler.
The screenshot tells the entire story:
This is a fatal error, so this clearly is a bug.
Reproducing the error
https://rap.tarski.nl
Lo and behold, the fatal error appears.
Symptoms
In a first attempt to analyze this error, I noticed that the following script compiles without errors:
The text was updated successfully, but these errors were encountered: