diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/global-showdef.check | 14 | ||||
-rw-r--r-- | test/files/run/global-showdef.scala | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/test/files/run/global-showdef.check b/test/files/run/global-showdef.check index 8f67253ced..36d33f6fdf 100644 --- a/test/files/run/global-showdef.check +++ b/test/files/run/global-showdef.check @@ -1,14 +1,14 @@ -<<-- class foo.bar.Bippy -->> +<<-- class foo.bar.Bippy after phase 'typer' -->> def showdefTestMemberClass1: Int -<<-- type foo.bar.Bippy.BippyType -->> +<<-- type foo.bar.Bippy.BippyType after phase 'typer' -->> def showdefTestMemberType1: Unit -<<-- type foo.bar.Bippy.BippyType -->> +<<-- type foo.bar.Bippy.BippyType after phase 'typer' -->> def showdefTestMemberType2: Unit -<<-- class foo.bar.Bippy.Boppity -->> +<<-- class foo.bar.Bippy.Boppity after phase 'typer' -->> def showdefTestMemberClass2: Int -<<-- class foo.bar.Bippy.Boppity.Boo -->> +<<-- class foo.bar.Bippy.Boppity.Boo after phase 'typer' -->> def showdefTestMemberClass3: Int -<<-- object foo.bar.Bippy -->> +<<-- object foo.bar.Bippy after phase 'typer' -->> def showdefTestMemberObject2: java.lang.String -<<-- object foo.bar.Bippy.Boppity.Boo -->> +<<-- object foo.bar.Bippy.Boppity.Boo after phase 'typer' -->> def showdefTestMemberObject1: java.lang.String diff --git a/test/files/run/global-showdef.scala b/test/files/run/global-showdef.scala index 0b34fc4548..e17f438247 100644 --- a/test/files/run/global-showdef.scala +++ b/test/files/run/global-showdef.scala @@ -55,8 +55,8 @@ object Bippy { } output split "\\n" toList } - def showClass(name: String) = lines("-Xshow-class", name) - def showObject(name: String) = lines("-Xshow-object", name) + def showClass(name: String) = lines("-Yshow:typer", "-Xshow-class", name) + def showObject(name: String) = lines("-Yshow:typer", "-Xshow-object", name) def show(xs: List[String]) = { xs filter (x => (x contains "def showdefTestMember") || (x startsWith "<<-- ")) foreach println |