Iulian says I should delete these.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@16581 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
d1718da026
commit
561aaf051a
|
@ -1 +0,0 @@
|
|||
abc
|
|
@ -1,13 +0,0 @@
|
|||
class Test(val str: String) {
|
||||
def this(arr: Array[Char]) = this({
|
||||
if (arr.length == 0) exit(1)
|
||||
new String(arr)
|
||||
})
|
||||
}
|
||||
|
||||
object Test {
|
||||
def main(args: Array[String]) = {
|
||||
val t = new Test(Array('a', 'b', 'c'))
|
||||
println(t.str)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue