From cf0ae72aae43dae1e47489fceb684e5448080736 Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Sun, 19 Feb 2012 10:25:03 -0500 Subject: Fix [@spec A] to correctly induce AnyRef specialization. While [@specialized A] already tries to include specialization, a bug in specializedOn prevented this from happening: any empty list could mean that the type var was unspecialized, or that it was specialized on everything. The fix is to have this function create the full list of symbols in the case where the @specialized annotation doesn't explicitly include any types. --- test/files/run/t3575.check | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/files/run/t3575.check') diff --git a/test/files/run/t3575.check b/test/files/run/t3575.check index 9080fd8674..8b935ad4a3 100644 --- a/test/files/run/t3575.check +++ b/test/files/run/t3575.check @@ -1,6 +1,6 @@ Two -Two -Two +Two$mcIL$sp +Two$mcLI$sp Two$mcII$sp TwoLong TwoLong$mcIL$sp @@ -11,8 +11,8 @@ TwoCool$mcIL$sp TwoCool$mcLI$sp TwoCool$mcII$sp TwoShort -TwoShort -TwoShort +TwoShort$mcIL$sp +TwoShort$mcLI$sp TwoShort$mcII$sp TwoMinimal TwoMinimal$mcIL$sp -- cgit v1.2.3