diff options
Diffstat (limited to 'sources/scalac/transformer/AddConstructorsPhase.java')
-rw-r--r-- | sources/scalac/transformer/AddConstructorsPhase.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sources/scalac/transformer/AddConstructorsPhase.java b/sources/scalac/transformer/AddConstructorsPhase.java index 927d368bb3..7ea83ae584 100644 --- a/sources/scalac/transformer/AddConstructorsPhase.java +++ b/sources/scalac/transformer/AddConstructorsPhase.java @@ -12,7 +12,7 @@ package scalac.transformer; import java.util.HashMap; -//import scala.compiler.*; +import scalac.checkers.*; import scalac.Global; import scalac.Phase; import scalac.PhaseDescriptor; @@ -38,4 +38,13 @@ public class AddConstructorsPhase extends PhaseDescriptor { public Phase createPhase(Global global) { return new AddConstructors(global, this, constructors); } + + public Checker[] postCheckers(Global global) { + return new Checker[] { + new CheckSymbols(global), + new CheckTypes(global), + new CheckOwners(global), + new CheckNames(global) + }; + } } |