default= property annotation doesn’t work in session entity

session language{
  english :: Bool (default=true)
}

english is still false by default

Submitted by Danny Groenewegen on 28 June 2011 at 13:45

On 5 April 2012 at 12:44 Elmer van Chastelet commented:

The problem is the order of desugaring. default=x annotations are desugared to extend functions after the desugaring which merges the extend function into the original function.

Edit: The order of desugaring seems fine, the problem seems to be caused by a missing function for SessionEntities, which are extended by the desugaring of default anno.


On 5 April 2012 at 12:44 Elmer van Chastelet tagged 1.3.0

On 11 April 2012 at 13:20 Elmer van Chastelet commented:

should be fixed in r4981


On 11 April 2012 at 13:20 Elmer van Chastelet closed this issue.

On 11 April 2012 at 17:25 Elmer van Chastelet reopened this issue.

On 11 April 2012 at 17:26 Elmer van Chastelet commented:

Test passes on my local machine, but not on hydra.

-edit- Hydra used wrong build input, probably causing the test to fail, marking it as fixed again.


On 12 April 2012 at 11:23 Elmer van Chastelet closed this issue.

Log in to post comments