#1527 Bug: StrBuf().out.typeof is sys::Obj

MoOm Sun 8 May 2011

Here is a small code that shows the problem:

out := StrBuf().out
echo(out.typeof)   // "sys::Obj"
out.print("foo")   // works fine
out->print("foo")  // doesn't work: UnknownSlotErr

I haven't investigated the problem, but I noticed that in OutStream.java, the typeof() method is called typeofs(). Not sure it's related though.

brian Mon 9 May 2011

Yeah, OutStream.java had a typo - I pushed a fix. Thanks for reporting

Login or Signup to reply.