leoroos/sandboxdroog — Issue #16: How important is the dsl definition extension
Author: leoroos
Created: 2011-10-18 15:16:00+00:00
State: open
Labels: task

Within the PopartEditorUtils the hasMain check checks the actual code, whether he has the extension set. This leads to the assumption that the extension is not as hitherto handled a variable declaration, but indeed as unmodifiable as the DSL interpreter class! Is it so or is the method just wrong?
{code from line 483}

List popartLanguageExtensionsFromStore = getPopartLanguageExtensionsFromStore();

for (String extension : popartLanguageExtensionsFromStore) {

if (line.trim().contains(extension + "(name:")) {
return true;
}
}

{code}