-
Sven/Sarah Barth authored
- Remove unneeded check for "parse_generic" (it's already checked in the outer if-clause). + Check whether we are trying to specialize one of the surrounding type declarations of a nested type (as long as nested generics are forbidden this is always the outermost generic or specialization). This check can not rely on the symbol, because while parsing the generic or the specialization the symbol's def is still an errordef. This fixes Mantis #19498 . + Added test from bug report. git-svn-id: trunk@20247 -
04683c5f