//Works fine
const string@ id = represent.id;
const ClauseDesc@ desc = getClauseDesc(id);
//Cannot convert from "const string@" to "const string ∈"
const ClauseDesc@ desc = getClauseDesc(represent.id);
In this case, represent.id is a property accessor defined as: "const string@+ get_id() const"; getClauseDesc is defined as: "const ClauseDesc@ getClauseDesc(const string ∈)".
This bug is easy to work around, but the result is a bit ugly.
Bug: Cannot cast from handle to reference
I have a bug involving a class property accessor returning a handle, then not being able to immediately use that handle for a reference argument:
This does indeed look like a bug. I'll look into it.
Thanks for the report.
Thanks for the report.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This bug should now have been fixed (SVN rev 566).
Thanks,
Andreas
Thanks,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement