Closed lucaswerkmeister closed 10 years ago
Actually, there’s two bugs here.
GoLeftVisitor.visitElementRange
always tries to visit the lower bound, even if it doesn’t existGoLeftVisitor
doesn’t override visitIndexExpression
to visit only the primaryAnd the bug only happens if a [...x]
subscript appears in a position where it’s visited by a GoLeftVisitor
, i. e. within a string template.
Noticed in
ceylon.ast/source_gen/ceylon/ast/ConcreteClassGenerator.ceylon
.