polserver/testsuite/escript/errors
Kevin Eady 3ccf701ce9
Format testsuite scripts, pol-core support modules (#713)
* Format escript testsuite

* Manual formatting for escript testsuite
- Add format-off to places where formatter does what it should, but we don't like the results
- Manually change places where formatter outputs weird things _without_ format-off, so next format-all would show changes if not fixed

* Update .err files; add update_err.py helper script

Use the format `:line:col: message` for all .err file checks. This
allows us to change the file names without needing to edit the .err
contents.

Note that `in/inc0{1,2}.err` need have error messages between POSIX and
Windows, so their messages are a bit more "generic" than the other errs.

* Format pol testsuite

* Manual formatting for pol testsuite

* Format pol-core modules

* Manual formatting for pol-core modules

* Additional format pol-core modules

Use FormatterLineWidth=10000 since module functions must be on one line
because of the parse_modules target

* Address Discord comments

- Support multi-line module function declarations in parse_modules

* Format on df07831
2024-10-04 10:29:55 +02:00
..
errors001-two-functions-same-name.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors001-two-functions-same-name.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors002-var-same-name-as-function.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors002-var-same-name-as-function.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors003-function-parameter-same-name-as-function.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors003-function-parameter-same-name-as-function.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors004-program-parameter-same-name-as-function.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors004-program-parameter-same-name-as-function.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors004-reserved-word-as-argument-name.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors004-reserved-word-as-argument-name.src Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
errors005-const-same-name-as-function.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors005-const-same-name-as-function.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors005-missing-open-paren.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors005-missing-open-paren.src Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
errors006-for-loop-iterator-same-name-as-function.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors006-for-loop-iterator-same-name-as-function.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors007-foreach-iterator-same-name-as-function.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors007-foreach-iterator-same-name-as-function.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors008-var-same-name-as-user-function.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors008-var-same-name-as-user-function.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors009-int-out-of-range.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors009-int-out-of-range.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors010-reserved-word-syntax-error.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors010-reserved-word-syntax-error.src Add an error message about known reserved words (#322) 2020-09-22 03:11:25 -07:00
errors011-const-no-init.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
errors011-const-no-init.src Fix constant declaration production (#399) 2021-04-19 21:58:36 +02:00