alokmenghrajani/opalang — comment on commit 5b9efc808630f96f5841e4cf1cbebfbbecd7897e
File:  line 0
By alokmenghrajani:

for some reason, this code works inside the bar() function, but if I take it out of there, I get the following error:

File "stdlib/core/opatype.opa", line 451, characters 11-195, (451:11-453:61 | 16677-16861)
@fail: [OpaType.fields_of_fields_list] Can't select a row for :
value (dump): {Bool: {true}}list fields : {true : {}} / {false : {}}
Error: uncaught OPA exception {fail: $"[OpaType.fields_of_fields_list] Can't select a row for :\nvalue (dump): {Bool: {true}}list fields : {true : {}} / {false : {}}"$; position: $"File \"stdlib/core/opatype.opa\", line 451, characters 11-195, (451:11-453:61 | 16677-16861)"$}
*** Stack trace:
Fatal error: exception Failure("Barrier (bslvalue_record_fold_record : 305) was not released, don't wait anymore")