summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc')
-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(); // !!!
}