extends Tr{ constructor () { - abc := 100; this.abc := 101; xyz := 20; this.xyz := 21; @@ -247,7 +246,6 @@ module GenericBasics { // Mega has more type parameters than Tr class Megaextends Tr
{ constructor () { - abc := 100; this.abc := 101; xyz := 20; this.xyz := 21; diff --git a/docs/dev/news/2862.fix b/docs/dev/news/2862.fix new file mode 100644 index 00000000000..9564950ea04 --- /dev/null +++ b/docs/dev/news/2862.fix @@ -0,0 +1 @@ +Constant initialization checked for recursion