From 120d1f6d1d40a98cdf19b124fdc8531d276bacb7 Mon Sep 17 00:00:00 2001 From: mihaylov Date: Tue, 4 Oct 2005 09:35:11 +0000 Subject: Added scala._trait_ to the list of special attr... Added scala._trait_ to the list of special attributes --- sources/scalac/backend/msil/TypeCreator.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sources/scalac') diff --git a/sources/scalac/backend/msil/TypeCreator.java b/sources/scalac/backend/msil/TypeCreator.java index 5000b96511..de0bd4a264 100644 --- a/sources/scalac/backend/msil/TypeCreator.java +++ b/sources/scalac/backend/msil/TypeCreator.java @@ -319,6 +319,8 @@ final class TypeCreator { specialAttrs.add(defs.SCALA_VOLATILE_CONSTR); specialAttrs.add(defs.getClass("scala.SerialVersionUID") .primaryConstructor()); + specialAttrs.add(defs.getClass("scala._trait_") + .primaryConstructor()); } // init() /* @@ -910,7 +912,7 @@ final class TypeCreator { method = getMethod0(sym); } catch (Throwable e) { printMapping(sym, symbols2methods); - throw Debug.abort(e); + throw Debug.abort(Debug.show(sym), e); } return method; } -- cgit v1.2.3