View Issue Details

IDProjectCategoryView StatusLast Update
0037537pas2jstranspilerpublic2020-08-11 15:42
Reporterhenrique Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformMakestubOSWindows 
Fixed in Versiontrunk 
Summary0037537: External consts
DescriptionIn unit Math has the declaration of some external constants, in this case the constant NAN. This constant has the "external name" declared. When translated, it removes the "external name", but the constant is left without a set value, generating build errors.

Is it possible to put any default value for the constant?
Steps To Reproducemakestub.exe -i Math.pas -o MathConv.pas
TagsNo tags attached.
Fixed in Revision46360
Attached Files

Activities

Michael Van Canneyt

2020-08-11 13:44

administrator   ~0124758

Fixed, thanks for reporting !

henrique

2020-08-11 14:48

reporter   ~0124761

Everything worked as expected, but in the Web.pas unit, it did not generate the default values for the EMPTY, LOADING, and DONE constants.

Michael Van Canneyt

2020-08-11 15:42

administrator   ~0124766

Indeed, I didn't think of class consts. Fixed in rev. 46364.

Issue History

Date Modified Username Field Change
2020-08-10 16:31 henrique New Issue
2020-08-11 07:57 Michael Van Canneyt Assigned To => Michael Van Canneyt
2020-08-11 07:57 Michael Van Canneyt Status new => assigned
2020-08-11 13:44 Michael Van Canneyt Status assigned => resolved
2020-08-11 13:44 Michael Van Canneyt Resolution open => fixed
2020-08-11 13:44 Michael Van Canneyt Fixed in Version => trunk
2020-08-11 13:44 Michael Van Canneyt Fixed in Revision => 46360
2020-08-11 13:44 Michael Van Canneyt Note Added: 0124758
2020-08-11 14:48 henrique Status resolved => feedback
2020-08-11 14:48 henrique Resolution fixed => open
2020-08-11 14:48 henrique Note Added: 0124761
2020-08-11 15:42 Michael Van Canneyt Status feedback => resolved
2020-08-11 15:42 Michael Van Canneyt Resolution open => fixed
2020-08-11 15:42 Michael Van Canneyt Note Added: 0124766