Open kalidasya opened 9 years ago
Parse error at line 10 column 62: 1: -module(macro_with_record_field). 2: 3: -define(MACRO, my_macro). 4: 5: -record(?MACRO, { 6: field 7: }). 8: 9: my_function() -> 10: ets:new(?MACRO, [set, named_table, public, {keypos, #?MACRO.field}, {read_concurrency, true}]).
The issue is, we do not cover #Name.Field in the recordAccess rule but in the recordCreate so with the . it goes wrong... need some re-thinking
#Name.Field
.