Bug #5899
FRAME set X: incompatible types error
Start date:
Due date:
% Done:
100%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
History
#1 Updated by Vladimir Tsichevski over 2 years ago
DEFINE FRAME f WITH AT X 300 Y 0.
converts as:
frame.setDown(1); frame.setX(300); ^^^^^^^^^^^^^^^^ frame.setY(0);
which causes Java compilation error:
[javac] FrameSetXF.java:18: error: incompatible types: int cannot be converted to NumberType [javac] frame.setX(300);
In 4gl this compiles and works OK.
#2 Updated by Vladimir Tsichevski over 2 years ago
- Status changed from New to WIP
#3 Updated by Vladimir Tsichevski over 2 years ago
- % Done changed from 0 to 100
- Status changed from WIP to Review
Fixed in 3821c rev. 13278. Please, review.
#4 Updated by Vladimir Tsichevski over 2 years ago
Regression caused by 13278 fixed in rev. 13279.
KeyReader
: missing implementation methods added: setX(int)
, setY(int)
.
#5 Updated by Greg Shah over 2 years ago
I vaguely recall that we may have excluded the setX(int)
/setY(int)
on purpose, but I can't come up with the specific reason. Am I just mis-remembering?
#6 Updated by Vladimir Tsichevski over 2 years ago
Greg Shah wrote:
I vaguely recall that we may have excluded the
setX(int)
/setY(int)
on purpose, but I can't come up with the specific reason. Am I just mis-remembering?
I see no reason why should we do exclude these.
#7 Updated by Greg Shah over 2 years ago
- Assignee set to Vladimir Tsichevski
- Status changed from Review to Closed