Skip to content

Semantic analyzer: NPE at string concatenation if second operand is missing

Submitted by Jeno Attila Balasko

Assigned to Jeno Attila Balasko

Link to original bug (#529636)

Description

When we type the line as follows: if ( "a" & "b" == "ab") { }

and we delete the second operand after "&", a null pointer exception is thrown. It shouldn't happen, it would be better to guard it.

Version: 6.3.0