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
Try typing the following line in method outsource(): uint_150 t3 = (t0 * t1) % 42;
Problem
No matter how you type that line, the compiler always complains that something is not right. E.g. if you first type the left part of the assignment, then the percentage sign (this way you avoid a "syntax error" (even though the text that would be there would be exactly the same)), then everything left of the percentage sign, and then the 42, the compiler complains that:
The operator % is undefined for the argument type(s) UnsignedInteger, int (line: 134)
Expected behavior
It should behave the same as: uint_150 t3 = (t0 * t1) % uint_6(42);
The text was updated successfully, but these errors were encountered:
Steps to reproduce
outsource()
:uint_150 t3 = (t0 * t1) % 42;
Problem
No matter how you type that line, the compiler always complains that something is not right. E.g. if you first type the left part of the assignment, then the percentage sign (this way you avoid a "syntax error" (even though the text that would be there would be exactly the same)), then everything left of the percentage sign, and then the 42, the compiler complains that:
Expected behavior
It should behave the same as:
uint_150 t3 = (t0 * t1) % uint_6(42);
The text was updated successfully, but these errors were encountered: