Fix '&=' operator optimization when the added string is void.

[INTERPRETER]
* BUG: Fix '&=' operator optimization when the added string is void.
This commit is contained in:
gambas 2020-07-13 15:41:12 +02:00
parent 3c7d85ba85
commit 7c56865d97
2 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,33 @@
' Gambas class file
Public Sub Run() As Boolean
Return Not Me.ShowModal()
End
Public Sub btnOK_Click()
Me.Close(True)
End
Public Sub btnCancel_Click()
Me.Close
End
Public Sub Form_Open()
Me.Center
End
Public Sub DateBox1_Change()
Message.Question("does it pass, on debug?")
End

View file

@ -0,0 +1,30 @@
# Gambas Form File 3.0
{ Form Form
MoveScaled(0,0,64,64)
Resizable = False
Arrangement = Arrange.Vertical
Spacing = True
Margin = True
{ DateBox1 DateBox
MoveScaled(17,17,24,4)
}
{ HBox1 HBox
MoveScaled(1,59,62,4)
Spacing = True
{ Panel1 Panel
MoveScaled(4,0,4,4)
Expand = True
}
{ btnOK Button
MoveScaled(29,0,16,4)
Text = ("OK")
Default = True
}
{ btnCancel Button
MoveScaled(46,0,16,4)
Text = ("Cancel")
Cancel = True
}
}
}