diff --git a/compilerAst/src/prog8/ast/statements/AstStatements.kt b/compilerAst/src/prog8/ast/statements/AstStatements.kt index 48e0928db..d692fbdac 100644 --- a/compilerAst/src/prog8/ast/statements/AstStatements.kt +++ b/compilerAst/src/prog8/ast/statements/AstStatements.kt @@ -888,7 +888,7 @@ class UnrollLoop(val iterations: Int, var body: AnonymousScope, override val pos body.linkParents(this) } - override fun copy() = throw NotImplementedError("no support for duplicating a RepeatLoop") + override fun copy() = throw NotImplementedError("no support for duplicating an UnrollLoop") override fun replaceChildNode(node: Node, replacement: Node) { if (node===body) body = replacement as AnonymousScope diff --git a/syntax-files/IDEA/Prog8.xml b/syntax-files/IDEA/Prog8.xml index 30a6367ed..864051539 100644 --- a/syntax-files/IDEA/Prog8.xml +++ b/syntax-files/IDEA/Prog8.xml @@ -11,13 +11,13 @@