summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2006-05-15 15:39:58 +0000
committerLex Spoon <lex@lexspoon.org>2006-05-15 15:39:58 +0000
commit8d5dc2f9909eaa68527f5d2f178e1867935b0996 (patch)
treeabcf8b830cf66fadae92bcc77e2fd96d5a1e484d /src
parent4723a7ea5c94433d865a74e5ddfee86b3059d7a6 (diff)
downloadscala-8d5dc2f9909eaa68527f5d2f178e1867935b0996.tar.gz
scala-8d5dc2f9909eaa68527f5d2f178e1867935b0996.tar.bz2
scala-8d5dc2f9909eaa68527f5d2f178e1867935b0996.zip
commented back in CharArrayFile.read ; if someo...
commented back in CharArrayFile.read ; if someone thinks it is incorrect, please either fix it or explain the problem...
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/io/CharArrayFile.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/io/CharArrayFile.scala b/src/compiler/scala/tools/nsc/io/CharArrayFile.scala
index 9288a44451..aaa7b70193 100644
--- a/src/compiler/scala/tools/nsc/io/CharArrayFile.scala
+++ b/src/compiler/scala/tools/nsc/io/CharArrayFile.scala
@@ -22,7 +22,9 @@ class CharArrayFile(name: String, path: String, chars: Array[Char])
/** Reads the content of this abstract file into a byte array. */
override def read: Array[Byte] = {
- Predef.error("!!! not yet implemented");
+ //Why was this marked as not an implementation? It looks
+ //great to me. -Lex
+ //Predef.error("!!! not yet implemented");
new String(chars).getBytes(); // !!!
}