From 5258b63740c9fb1be3c531e1dc1399fb0dc55569 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Fri, 8 Feb 2013 00:05:55 +0100 Subject: SI-7096 SubstSymMap copies trees before modifying their symbols I removed some strange code in a06d31f6a2 and replaced it by something incorrect: SubstSymMap should never have side-effects: otherwise, calling 'tpe1 <: tpe2' for instance would modify the symbols in annotations of tpe2. SubstSymMap now always creates new trees before changing them. --- test/files/run/t7096.check | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test/files/run/t7096.check (limited to 'test/files/run/t7096.check') diff --git a/test/files/run/t7096.check b/test/files/run/t7096.check new file mode 100644 index 0000000000..6f1cef6c43 --- /dev/null +++ b/test/files/run/t7096.check @@ -0,0 +1,2 @@ +testing symbol List(method foo, class Base, package ano, package ), param value x, xRefs List(x) +testing symbol List(method foo, class Sub, package ano, package ), param value x, xRefs List(x) -- cgit v1.2.3