summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-01-11 18:52:10 -0800
committerPaul Phillips <paulp@improving.org>2013-01-11 18:52:10 -0800
commit5f51e3f754d15415e21f79c2fc81995f89019edf (patch)
tree6622ac88e854191a6f475db584d01843f34f14c3 /test/files
parent64ec51b31f9563580e250ac45714b9d3d86abde1 (diff)
parent198d5229967367493960a6b4e0f9c382d7122a25 (diff)
downloadscala-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/files')
-rw-r--r--test/files/pos/CustomGlobal.scala2
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 + ".")