Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.5.6
-
Fix Version/s: 0.6
-
Component/s: Runtime (Boo.Lang)
-
Labels:None
-
Number of attachments :
Description
several tiny bugs not worth their own issue.
class wtf:
def constructor():
print self
class wtfpwned:
static def constructor():
print self
class wildcherry:
static def constructor():
print self
static zak = 10
class hammertime:
static def constructor():
print self
def constructor():
print 'kittens are cyuite!'
wtf() #the standard control case, works perfectly
wtfpwned() #this constructor calls some kind of infinite loop and results in a stack overflow.
wildcherry() #this one creates a target invocation exception, even though i can assert self is not null
there's also a situation where printing self in a static constructor with some other kind of member being present will result in something crazy like "System.Text.TextWriter", but I lost the test-case when I got a stack-overflow that killed boo explorer. I can't track it down again, but I know its out there, waiting. lurking.