| Detector: | GrouMiner |
| Target: | project ' closure ' version114 |
| Misuse: | misuse ' 1 ' |
| Tags: |
Details about the known misuse from the MUBench dataset.
| Description: | UnionTypeBuilder.build() returns a JSType that can never be null. Branching on a null check therefore results in dead code. |
| Fix Description: | Check Node.isNoType() instead. (see diff) |
| Violation Types: |
|
| In File: | com/google/javascript/rhino/jstype/UnionType.java |
| In Method: | meet(JSType) |
| Code with Misuse: |
|
| Code with Pattern(s): |
|