Skip to content

Fix NullPointerException with array initializers (#1202)#1203

Merged
leonard84 merged 1 commit intospockframework:masterfrom
Vampire:fix-npe-with-array-initializer
Jul 27, 2020
Merged

Fix NullPointerException with array initializers (#1202)#1203
leonard84 merged 1 commit intospockframework:masterfrom
Vampire:fix-npe-with-array-initializer

Conversation

@Vampire
Copy link
Member

@Vampire Vampire commented Jul 24, 2020

fixes #1202


This change is Reviewable

@codecov
Copy link

codecov bot commented Jul 24, 2020

Codecov Report

Merging #1203 into master will decrease coverage by 0.01%.
The diff coverage is 20.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1203      +/-   ##
============================================
- Coverage     75.96%   75.95%   -0.02%     
  Complexity     3647     3647              
============================================
  Files           393      393              
  Lines         11113    11115       +2     
  Branches       1369     1372       +3     
============================================
  Hits           8442     8442              
- Misses         2192     2193       +1     
- Partials        479      480       +1     
Impacted Files Coverage Δ Complexity Δ
...org/spockframework/compiler/ConditionRewriter.java 56.06% <0.00%> (ø) 44.00 <0.00> (ø)
...rk/compiler/ExpressionReplacingVisitorSupport.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...pockframework/runtime/ExpressionInfoConverter.java 88.73% <50.00%> (-0.42%) 34.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3aefd7...710b118. Read the comment docs.

@Vampire Vampire changed the title Fix NullPointerException with array initizalizers (#1202) Fix NullPointerException with array initializers (#1202) Jul 24, 2020
@Vampire Vampire force-pushed the fix-npe-with-array-initializer branch from cc251b2 to 710b118 Compare July 24, 2020 21:56
@leonard84 leonard84 merged commit 0883596 into spockframework:master Jul 27, 2020
@Vampire Vampire deleted the fix-npe-with-array-initializer branch July 27, 2020 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPE during compilation of spec while testing a method with vararg parameter

2 participants