History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-456
Type: Bug Bug
Status: Resolved Resolved
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Rodrigo B. de Oliveira
Reporter: Michael Sloan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

Internal Compiler error on accessing a method of a return of a property that has a twin

Created: 22/Aug/05 11:44 PM   Updated: 06/Apr/08 10:13 AM
Component/s: None
Affects Version/s: 0.3, 0.4, 0.2, 0.5, 0.5.6
Fix Version/s: 0.8.2

Time Tracking:
Not Specified

Environment: WinXP SP2, MS .net 1.1


 Description  « Hide
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



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.