diff options
author | Paul Phillips <paulp@improving.org> | 2012-03-06 22:33:03 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-03-06 22:33:03 -0800 |
commit | f2ffc5be3487ca5dc331f754897f0e9b84eeb72c (patch) | |
tree | af43552a639f23e6e63217abd1d65ad0f2207ca8 /src | |
parent | d1b589642c5099239060aee0b8b506c3a2a04ae4 (diff) | |
download | scala-f2ffc5be3487ca5dc331f754897f0e9b84eeb72c.tar.gz scala-f2ffc5be3487ca5dc331f754897f0e9b84eeb72c.tar.bz2 scala-f2ffc5be3487ca5dc331f754897f0e9b84eeb72c.zip |
Fix for -Xcheckinit failure.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/matching/Patterns.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/matching/Patterns.scala b/src/compiler/scala/tools/nsc/matching/Patterns.scala index a6d8556db3..8bdf83fda4 100644 --- a/src/compiler/scala/tools/nsc/matching/Patterns.scala +++ b/src/compiler/scala/tools/nsc/matching/Patterns.scala @@ -49,7 +49,7 @@ trait Patterns extends ast.TreeDSL { // 8.1.1 (b) case class WildcardPattern() extends Pattern { - val tree = EmptyTree + def tree = EmptyTree override def covers(sym: Symbol) = true override def isDefault = true override def description = "_" |