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
According to the notation description in the TASTy grammar, "Prefixes of the form lower case letter*_ are for explanation of semantic content only, they can be dropped without changing the grammar". However, in practice, this isn't true.
For example, one possible Term is:
NEW clsType_Term -- new cls
However, clsType_Term isn't necessarily a Term, since it's technically read as a type tree, which can be a Type:
According to the notation description in the TASTy grammar, "Prefixes of the form lower case letter*_ are for explanation of semantic content only, they can be dropped without changing the grammar". However, in practice, this isn't true.
For example, one possible
Term
is:However,
clsType_Term
isn't necessarily aTerm
, since it's technically read as a type tree, which can be aType
:scala3/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
Line 1710 in 4d3f757
Additionally,
Tree
is mentioned in multiple places, but isn't ever formally defined.The text was updated successfully, but these errors were encountered: