ssi-schaefer / lcdsl

Eclipse Launch Configuration DSL (Xtext based)
Eclipse Public License 1.0
23 stars 12 forks source link

Stackoverflow when a derived configuration has the same name than the original one #9

Closed mheiss closed 7 years ago

mheiss commented 7 years ago

Copy the following snippet into a new .lc file:

eclipse configuration ConfigA {
    product org.eclipse.sdk.ide;
    plugin org.eclipse.core.runtime;
  }

  eclipse configuration CustomConfigA:ConfigA {
  }

Now rename CustomConfigA to ConfigA and press save.

eclipse configuration ConfigA:ConfigA { 
}

This results in a StackOverflow exception when trying to validate the configuration. See the attached file for more details.

stacktrace.txt