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 was archived by the owner on Jul 18, 2025. It is now read-only.
The proper style for a type annotation is to write it immediately before the type that it annotates. For example, this is wrong:
and this is correct:
However, the insert-annotations-to-source program produces the former rather than the latter.
The same thing goes for fields: the annotation should be on the same line as the type, not above the type and indented.
I have attached files that reproduce the problem and that show the desired output. Run the following commands:
type-annotation-formatting.zip