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 }}
Repository navigation
WarnOnGenericInferenceFailure redundantly reporting in wrong file #1725
With the NullAway:WarnOnGenericInferenceFailure option, there is a confusing extra report pointing to the end of unrelated class File1:
File1.java:2: warning: [NullAway] inference failure: type variable T constrained to be both @NonNull and @Nullable
(see http://t.uber.com/nullaway )
File2.java:6: warning: [NullAway] inference failure: type variable T constrained to be both @NonNull and @Nullable
call(() -> { return null; });
^
(see http://t.uber.com/nullaway )
The first report happens via AccessPathNullnessPropagation, using a VisitorState from the first file of the compilation.
Activity
Attribute errors reported during dataflow to the right file
Deduplicate generic inference failure warnings (#1741)
test: check that every diagnostic is assertable and that source order…
test: check that every diagnostic is assertable and that source order…
test: check that every diagnostic is assertable and that source order…
Report diagnostics past the last line or outside the sources in `Comp…
Check that test diagnostics do not depend on the order of the sources
Report diagnostics past the last line or outside the sources in `Comp…
Check that test diagnostics do not depend on the order of the sources
Check that test diagnostics do not depend on the order of the sources
Check that test diagnostics do not depend on the order of the sources
Check that test diagnostics do not depend on the order of the sources