[Pas2js] computed const doesn't work?

Mr Bee pak.lebah at yahoo.com
Sat Oct 20 06:26:38 CEST 2018


Done. Check #34443.

–Mr Bee
 

    Pada Jumat, 19 Oktober 2018 13.04.16 WIB, Michael Van Canneyt <michael at freepascal.org> menulis:  
 
 

On Fri, 19 Oct 2018, Mr Bee via Pas2js wrote:

> Hi,
> Does pas2js support computed constant?
> This code:
> const TAU = 2*PI;
> works on FPC v.3.0.4 but doesn't work on pas2js v.1.0.2. Both using -Mobjfpc parameter.

Please report this as a bug.

Michael.
_______________________________________________
Pas2js maillist  -  Pas2js at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20181020/ab0c07de/attachment.html>


More information about the Pas2js mailing list