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
This is a problem of handling the field-update expressions by the compiler, the following example also crashes:
data A = a(str field);
value main(list[value] args) {
return a("1")[field = "2"];
}
...
r2mu: Compiling main
adt("A",[])
|rascal://lang::rascal::types::AbstractType|(21233,2,<435,70>,<435,72>): "tupleHasFieldNames given non-Tuple type A"
at tupleHasFieldNames(|rascal://experiments::Compiler::Rascal2muRascal::RascalExpression|(21669,2,<503,26>,<503,28>))
Compiling
Grammar.rsc
gives a compiler error:The text was updated successfully, but these errors were encountered: