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

Key: BOO-739
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Dominik Zablotny
Votes: 0
Watchers: 1
Operations

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

static fields are initialized after static constructor

Created: 27/May/06 12:48 PM   Updated: 15/Sep/06 12:14 PM
Component/s: Compiler
Affects Version/s: 0.7.6
Fix Version/s: 0.7.7

Time Tracking:
Not Specified

Environment: linux/ubuntu dapper, mono 1.0.5000.0


 Description  « Hide
Static variables are initialized after executing static constructor, while they should before.

class Foo:

static a = 'hello'

static def constructor():
assert a != null

Foo()



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Rodrigo B. de Oliveira - 15/Sep/06 12:14 PM
Fixed in the repository. Thanks for the report!