A pending test for #2087, and a script test which

is supposed to exercise r19165, except that I discovered that
no script tests have been run since July 2008: r15658 says "remove
script tests for now - they seem to block in certain configurations."

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19237 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
extempore 2009-10-22 14:18:15 +00:00
parent 49023e4580
commit 82cf481b4f
9 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,3 @@
object Bop {
implicit def int2list(x: Int): List[String] = List("hello", "world")
}

View File

@ -0,0 +1 @@
import Bop._

View File

@ -0,0 +1 @@
List(hello, world)

View File

@ -0,0 +1,3 @@
#!/bin/sh
scala -nocompdaemon -i lAndE1.scala lAndE2.scala -e 'println(5: List[String])'

0
test/files/script/second.scala Normal file → Executable file
View File

0
test/files/script/t1015.scala Normal file → Executable file
View File

0
test/files/script/t1017.scala Normal file → Executable file
View File

0
test/files/script/utf8.scala Normal file → Executable file
View File

View File

@ -0,0 +1,8 @@
object Test {
def main(args: Array[String]): Unit = {
val s: Short = 0xFA99.toShort
val c: Char = 0xFA99.toChar
assert((s == c) == (c == s))
}
}