catb0t / tart

Automatically exported from code.google.com/p/tart
0 stars 0 forks source link

error: Implement expr serialization for: UpCast #32

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Not sure what the actual source of the problem is, but with the latest source 
checked out I'm getting an "error: Implement expr serialization for: UpCast" 
when supplying a default argument to a method (constructor) in the form:

def construct(path:String, encoding:Codec = Codecs.UTF_8) {
    self._encoding = encoding;
    self._file = _open(path);
  }

If I set self._encoding to Codecs.UTF_8 in the body and remove it from the 
params, it compiles OK.

Original issue reported on code.google.com by lst...@gmail.com on 27 Apr 2011 at 2:52

GoogleCodeExporter commented 8 years ago
Yeah, I know what that is. Shouldn't be hard to fix.

Original comment by viri...@gmail.com on 27 Apr 2011 at 9:46