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
Especially the file and line information generated for types is rather arbitrary as the span value is just passed to create_type_metadata() from the caller. So the type gets assigned the span of the local variable or argument that happens to be the first to be translated.
This should be easy fix by reading span information from the type definitions in the AST where it makes sense and to omit the span information otherwise.
The text was updated successfully, but these errors were encountered:
Especially the file and line information generated for types is rather arbitrary as the
span
value is just passed tocreate_type_metadata()
from the caller. So the type gets assigned the span of the local variable or argument that happens to be the first to be translated.This should be easy fix by reading span information from the type definitions in the AST where it makes sense and to omit the span information otherwise.
The text was updated successfully, but these errors were encountered: