You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok, I am confirming that this is REPL bug. For conanOBrien', compiler is generating a field with name conanOBrien$tick. When we just evaluate the field with frege> conanOBrien', REPL is trying to evaluate the field value by looking up the field on the generated class using reflection with name conanOBrien' hence the NoSuchFieldException.
With conanO'Brien a function case and id conanO'Brian case, REPL is not directly interpreting conanO'Brien but the result of those expressions so these cases succeed.
In https://github.com/Frege/frege/wiki/LYAH-adaptions-for-Frege#babys-first-functions-subject-to-review-by-mmhelloworld :
But in Frege repl (version 3.24.30) it looks as follows:
By the way, having the apostrophe in the middle of the name leads to the same results:
However, if I define it as a function with an argument, it works:
The text was updated successfully, but these errors were encountered: