diff options
Diffstat (limited to 'sources/scalac/transformer/matching/PatternMatcher.java')
-rw-r--r-- | sources/scalac/transformer/matching/PatternMatcher.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/transformer/matching/PatternMatcher.java b/sources/scalac/transformer/matching/PatternMatcher.java index f5a0eda18f..4dd59ea4ea 100644 --- a/sources/scalac/transformer/matching/PatternMatcher.java +++ b/sources/scalac/transformer/matching/PatternMatcher.java @@ -50,7 +50,7 @@ public class PatternMatcher extends PatternTool { /** constructor */ - public PatternMatcher(Unit unit, Tree selector, + public PatternMatcher(CompilationUnit unit, Tree selector, Symbol owner, Type resultType) { super(unit); initialize(selector, owner, resultType, true); @@ -58,7 +58,7 @@ public class PatternMatcher extends PatternTool { /** constructor, used in subclass AlgebraicMatcher */ - protected PatternMatcher(Unit unit) { + protected PatternMatcher(CompilationUnit unit) { super(unit); } |