diff options
author | Paul Phillips <paulp@improving.org> | 2013-01-11 18:52:10 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-01-11 18:52:10 -0800 |
commit | 5f51e3f754d15415e21f79c2fc81995f89019edf (patch) | |
tree | 6622ac88e854191a6f475db584d01843f34f14c3 /test | |
parent | 64ec51b31f9563580e250ac45714b9d3d86abde1 (diff) | |
parent | 198d5229967367493960a6b4e0f9c382d7122a25 (diff) | |
download | scala-5f51e3f754d15415e21f79c2fc81995f89019edf.tar.gz scala-5f51e3f754d15415e21f79c2fc81995f89019edf.tar.bz2 scala-5f51e3f754d15415e21f79c2fc81995f89019edf.zip |
Merge pull request #1874 from paulp/pr/mode-value-class
Made "mode" into a value class.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/CustomGlobal.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/CustomGlobal.scala b/test/files/pos/CustomGlobal.scala index 30bf227950..a5668bd7c0 100644 --- a/test/files/pos/CustomGlobal.scala +++ b/test/files/pos/CustomGlobal.scala @@ -22,7 +22,7 @@ class CustomGlobal(currentSettings: Settings, reporter: Reporter) extends Global override def newTyper(context: Context): Typer = new CustomTyper(context) class CustomTyper(context : Context) extends Typer(context) { - override def typed(tree: Tree, mode: Int, pt: Type): Tree = { + override def typed(tree: Tree, mode: Mode, pt: Type): Tree = { if (tree.summaryString contains "Bippy") println("I'm typing a Bippy! It's a " + tree.shortClass + ".") |