Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 0.2, 0.3, 0.4, 0.5, 0.5.6
-
Fix Version/s: 0.8.2
-
Component/s: None
-
Labels:None
-
Environment:WinXP SP2, MS .net 1.1
-
Number of attachments :
Description
Ok the title is a bit insane, but basically I'm getting an internal compiler error when i have 2 properties with the same name and return type (must be a class - valuet types dont cause this error). Attempting to call a method on the return of this property causes a "Specified cast is not valid" internal error.
code:
class Foo:
static _bar=Foo()
coo=5
static Bar:
get:
return _bar
static Bar:
get:
return _bar
print Foo.Bar.coo