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
Some errors are reported without a position. An example can be found in the issue below.
While an ideal patch would be to always have an error reported with a location, that's not always possible. Perhaps, for those cases, we can leverage the current module in the compiler, and report that location as a fallback.
On the lack of location, I believe it should always be possible to get a file-location, which would be nice to have as a fallback when we don't have a location for an error.
The problem is that a fair amount of code is automatically generated in such a way that there is no sensible source location to attach. I don't think we can always ensure that there is a sensible source location for every statement or expression.
Some errors are reported without a position. An example can be found in the issue below.
While an ideal patch would be to always have an error reported with a location, that's not always possible. Perhaps, for those cases, we can leverage the current module in the compiler, and report that location as a fallback.
On the lack of location, I believe it should always be possible to get a file-location, which would be nice to have as a fallback when we don't have a location for an error.
Originally posted by @jimbxb in #418 (comment)
The text was updated successfully, but these errors were encountered: