Class DefaultOperatorLast
java.lang.Object
org.ek9lang.compiler.repair.DefaultOperatorLast
E01086 - a bare
default operator with something after it in the body. The rule fixes its place: an
aggregate's body is properties, methods, operators, then at most one bare default operator as the LAST
item (AggregateMemberOrder, checked in phase 1 and by SyntaxProbe; until 2026-10-11 the grammar
itself). Moving the line to the end of its body is therefore the only reading; what the body holds is untouched.
Measured: 5 of the 9 Q and A quads that did not parse, and 24 harness events.-
Method Summary
Modifier and TypeMethodDescription(package private) static TextRule.Rewriteapply(List<String> lines, SyntaxProbe.SyntaxError failure)
-
Method Details
-
apply
-