Skip to content

Commit 60b0d8e

Browse files
committed
fixed very stale type ambiguity of alt constructor (Symbol or AType)
1 parent f69855c commit 60b0d8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/org/rascalmpl/compiler/lang/rascalcore/check/ATypeBase.rsc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,9 @@ data AType
341341
//public AType \iter-star-seps(AType atype, []) = \iter-star(atype);
342342

343343
// flattening rules
344-
public AType seq([*AType a, seq(list[AType] b), *AType c]) = seq(a + b + c);
344+
public AType seq([*AType a, seq(list[AType] b), *AType c]) = AType::seq(a + b + c);
345345

346-
public AType alt({*AType a, alt(set[AType] b)}) = alt(a + b);
346+
public AType alt({*AType a, alt(set[AType] b)}) = AType::alt(a + b);
347347

348348
data AType // <19>
349349
= \conditional(AType atype, set[ACondition] conditions);

0 commit comments

Comments
 (0)