diff options
author | Lex Spoon <lex@lexspoon.org> | 2006-05-15 15:39:58 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2006-05-15 15:39:58 +0000 |
commit | 8d5dc2f9909eaa68527f5d2f178e1867935b0996 (patch) | |
tree | abcf8b830cf66fadae92bcc77e2fd96d5a1e484d /src/compiler/scala | |
parent | 4723a7ea5c94433d865a74e5ddfee86b3059d7a6 (diff) | |
download | scala-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/compiler/scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/io/CharArrayFile.scala | 4 |
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(); // !!! } |