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
{{ message }}
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.
The issue lies with pointer dereference expressions of the form *T where T is a type parameter. After spending some time thinking about it, I believe these kinds of expressions should not be allowed and the compiler should report an error. (The current error message obviously doesn't make much sense so I would like to improve it by catching the issue earlier on in the type-checker). Edit: I'm sorry, I was mistaken. The code you shared should not have anything that gets interpreted as a dereference expression. I'll investigate further and fix the issue as soon as I get a chance.
Hello the following program fails to compile
https://play.folang.org/p/2XxLi_ukWR5
The text was updated successfully, but these errors were encountered: