Advertisement

Build failed with object assign code

Started by July 05, 2010 06:56 AM
2 comments, last by hoboaki 14 years, 4 months ago
Hi.
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'.

It sure looks like a bug. I'll look into it.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement
Fixed in revision 620. Thanks.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

I confirmed that this bug was fixed at r620.
Thank you!

This topic is closed to new replies.

Advertisement