Kbase P181465: 4GL/ABL: Compiler crashes with extra colon syntax error in code.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  27/01/2011 |
|
Status: Unverified
SYMPTOM(s):
4GL/ABL: Compiler crashes with extra colon syntax error in code.
ABL client session dies when the following code is compiled or syntax checked in the ABL Procedure Editor:
DEFINE VARIABLE oFoo AS System.Windows.Forms.Button NO-UNDO.
DEFINE VARIABLE oBar AS System.Windows.Forms.Button NO-UNDO.
oFoo:Location = NEW System.Drawing.Point(oBar:Location:X,oBar:Location::Y).
Compiling the above code snippet or checking its syntax in the OpenEdge Procedure Editor causes the ABL client session to disappear, a protrace file to be generated along with two .ped files.
FACT(s) (Environment):
Windows
OpenEdge 10.2B
OpenEdge Category: Language (4GL/ABL)
Above code has an extra colon syntax error in the statement:
oFoo:Location = NEW System.Drawing.Point(oBar:Location:X,oBar:Location::Y).
CAUSE:
Bug# OE00204133
FIX:
None at this time. As a workaround, remove the syntax error from the above code snippet by using one colon instead of the double colon in the statement. That is, change the following statement:
oFoo:Location = NEW System.Drawing.Point(oBar:Location:X,oBar:Location::Y).
to
oFoo:Location = NEW System.Drawing.Point(oBar:Location:X,oBar:Location:Y).