-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kotlin] Add argument index to NULL_ARGUMENT issue type error message
Summary: Improve NULL_ARGUMENT issue type error messages by adding additional information about argument index. Reviewed By: dulmarod Differential Revision: D50969238 Privacy Context Container: L1122176 fbshipit-source-id: c3ed9561ecc5557fa3396ba8b3c0bd697c537066
- Loading branch information
1 parent
ce446df
commit 375b4e4
Showing
6 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
build_systems/pulse_messages_kotlin/BasicJavaKotlinBoundary.java, codetoanalyze.kotlin.pulse.BasicJavaKotlinBoundary.passNullWhenDisallowedBad1(codetoanalyze.kotlin.pulse.Kotlin):void, 21, -1, ERROR, NULL_ARGUMENT, `input` could be null (null value originating from line 20) and is passed as argument to `void Kotlin.doesNotAcceptNullFirstParam(Object)`; this function requires a non-null argument., | ||
build_systems/pulse_messages_kotlin/BasicJavaKotlinBoundary.java, codetoanalyze.kotlin.pulse.BasicJavaKotlinBoundary.passNullWhenDisallowedBad2(codetoanalyze.kotlin.pulse.Kotlin):void, 33, -1, ERROR, NULL_ARGUMENT, `input2` could be null (null value originating from line 32) and is passed as argument to `void Kotlin.doesNotAcceptNullSecondParam(Object,Object)`; this function requires a non-null argument., | ||
build_systems/pulse_messages_kotlin/BasicJavaKotlinBoundary.java, codetoanalyze.kotlin.pulse.BasicJavaKotlinBoundary.passNullWhenDisallowedInterprocBad1(codetoanalyze.kotlin.pulse.Kotlin):void, 38, -1, ERROR, NULL_ARGUMENT, `input` could be null (from the call to `BasicJavaKotlinBoundary.returnsNull()` on line 37) and is passed as argument to `void Kotlin.doesNotAcceptNullFirstParam(Object)`; this function requires a non-null argument., | ||
build_systems/pulse_messages_kotlin/BasicJavaKotlinBoundary.java, codetoanalyze.kotlin.pulse.BasicJavaKotlinBoundary.passNullWhenDisallowedInterprocBad2(codetoanalyze.kotlin.pulse.Kotlin):void, 50, -1, ERROR, NULL_ARGUMENT, `input2` could be null (from the call to `BasicJavaKotlinBoundary.returnsNull()` on line 49) and is passed as argument to `void Kotlin.doesNotAcceptNullSecondParam(Object,Object)`; this function requires a non-null argument., | ||
build_systems/pulse_messages_kotlin/BasicJavaKotlinBoundary.java, codetoanalyze.kotlin.pulse.BasicJavaKotlinBoundary.passNullWhenDisallowedBad1(codetoanalyze.kotlin.pulse.Kotlin):void, 21, -1, ERROR, NULL_ARGUMENT, `input` could be null (null value originating from line 20) and is passed as argument to `void Kotlin.doesNotAcceptNullFirstParam(Object)`; this function requires a non-null argument at position #0., | ||
build_systems/pulse_messages_kotlin/BasicJavaKotlinBoundary.java, codetoanalyze.kotlin.pulse.BasicJavaKotlinBoundary.passNullWhenDisallowedBad2(codetoanalyze.kotlin.pulse.Kotlin):void, 33, -1, ERROR, NULL_ARGUMENT, `input2` could be null (null value originating from line 32) and is passed as argument to `void Kotlin.doesNotAcceptNullSecondParam(Object,Object)`; this function requires a non-null argument at position #1., | ||
build_systems/pulse_messages_kotlin/BasicJavaKotlinBoundary.java, codetoanalyze.kotlin.pulse.BasicJavaKotlinBoundary.passNullWhenDisallowedInterprocBad1(codetoanalyze.kotlin.pulse.Kotlin):void, 38, -1, ERROR, NULL_ARGUMENT, `input` could be null (from the call to `BasicJavaKotlinBoundary.returnsNull()` on line 37) and is passed as argument to `void Kotlin.doesNotAcceptNullFirstParam(Object)`; this function requires a non-null argument at position #0., | ||
build_systems/pulse_messages_kotlin/BasicJavaKotlinBoundary.java, codetoanalyze.kotlin.pulse.BasicJavaKotlinBoundary.passNullWhenDisallowedInterprocBad2(codetoanalyze.kotlin.pulse.Kotlin):void, 50, -1, ERROR, NULL_ARGUMENT, `input2` could be null (from the call to `BasicJavaKotlinBoundary.returnsNull()` on line 49) and is passed as argument to `void Kotlin.doesNotAcceptNullSecondParam(Object,Object)`; this function requires a non-null argument at position #1., |