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:
parent
49023e4580
commit
82cf481b4f
|
|
@ -0,0 +1,3 @@
|
|||
object Bop {
|
||||
implicit def int2list(x: Int): List[String] = List("hello", "world")
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
import Bop._
|
||||
|
|
@ -0,0 +1 @@
|
|||
List(hello, world)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
scala -nocompdaemon -i lAndE1.scala lAndE2.scala -e 'println(5: List[String])'
|
||||
|
|
@ -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))
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue