When my application build this code , build is failed.
Is this bug?
Revision
r614
Script Code
class Obj {};class Hoge{ const Obj obj()const { return Obj(); }};class Foo{ Foo() { Hoge h; Obj tmpObj = h.obj(); /* OK */ mObj = h.obj(); /* Build failed */ } Obj mObj;};
Message
Can't implicitly convert from 'const Obj' to 'Obj'.