--- a/CodeGeneratorTool.st Tue May 03 15:52:21 2016 +0200
+++ b/CodeGeneratorTool.st Tue May 03 18:03:37 2016 +0200
@@ -1721,6 +1721,8 @@
So, use proper compiler for language the receiver is generator for,
i.e., Compiler for SmalltalkCodeGenerator, JavaScriptCompiler for
JavaScriptCodeGenerator..."
+
+ "/ this is not the real compilation - but a prescan for the selector
compiler := self compilerClass new.
compiler parseMethod:theCode in:aClass ignoreErrors:true ignoreWarnings:true.
@@ -1742,6 +1744,7 @@
].
change := InteractiveAddMethodChange compile:(theCode asString) in:aClass classified:category.
+ change controller:(CompilationErrorHandlerQuery query).
"/ if collecting, add to changes (to be executed as one change at the end,
"/ in order to have only one change in the undo-list (instead of many)