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
So discussing with @hdwalters on #586 we saw a flaw.
My solution is hacky and does't work with all the cases because I am just counting where it should be the function but in some cases could be different as exposed.
So ideally there should be on meta.context instead of just the token what is the function (and the line) that is actually parsing so we can have better information.
I think that can be useful also in other cases but until we don't have yet we can't provide insightful errors in the compiler.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So discussing with @hdwalters on #586 we saw a flaw.
My solution is hacky and does't work with all the cases because I am just counting where it should be the function but in some cases could be different as exposed.
So ideally there should be on
meta.context
instead of just the token what is the function (and the line) that is actually parsing so we can have better information.I think that can be useful also in other cases but until we don't have yet we can't provide insightful errors in the compiler.
Beta Was this translation helpful? Give feedback.
All reactions