Commit Graph

7692 Commits

Author SHA1 Message Date
Pierre Muller
7072813c86 Add fcl-process to TESTPACKAGESDIRECTDIRS variable 2024-02-23 16:00:06 +00:00
Sven/Sarah Barth
3447512e29 * ensure that "type SomeName = type reference" is still allowed when function references are disabled
+ added test
2024-02-23 15:31:38 +01:00
florian
3cf7890352 * don't throw an internalerror in case of an illegal assignment to an open array, resolves #40662 2024-02-22 22:35:18 +01:00
Sven/Sarah Barth
5c890b59e3 * fix #40655: apply changes to packrecords, packenum and setalloc using the recordpending*() functions so that they are applied correctly in case of them being used directly after a {$POP}{$PUSH} sequence
+ added test
2024-02-20 23:52:52 +01:00
florian
bccc0b195e * allow type = type ... ; syntax only for previously declared types, avoids also internal error for #40566 2024-02-20 23:14:31 +01:00
florian
a75e453c30 + thlcgobj.location_force_mem now supports LOC_JUMP as well, resolves #40650 2024-02-19 22:22:12 +01:00
florian
af482fde23 * generate specializations only of no error happened so far to prevent further (internal)errors, resolves #40646 2024-02-18 23:08:21 +01:00
Sven/Sarah Barth
ae06528db4 + add test for already fixed #24285 2024-02-18 19:35:24 +01:00
Sven/Sarah Barth
60c94c50ff + add test for now fixed #40639 2024-02-18 19:35:24 +01:00
Sven/Sarah Barth
ea102d792f * fix #40634 the 2nd: a (strict) protected symbol in a parent class of the owner is supposed to be visible
+ added test
2024-02-18 19:35:24 +01:00
J. Gareth "Curious Kit" Moreton
afd63ef0ce * New test for !40643 2024-02-18 15:37:27 +00:00
J. Gareth "Curious Kit" Moreton
068b8f9e9d * New test for i40647 2024-02-18 15:31:20 +00:00
Pierre Muller
8122defbd8 Add test for bug report 40537 2024-02-17 21:33:52 +00:00
FPC_Admin
2350b34d0f Handle seperation line even when combined with last line of previous log 2024-02-17 16:06:46 +00:00
FPC_Admin
2584a271b5 Explicitly use testu version of GetFileContents function 2024-02-17 16:06:46 +00:00
Sven/Sarah Barth
d9903e6e16 * fix #40634: correctly check visibility for child classes in case of a mixture of specializations and non-specializations
+ added test
2024-02-16 16:54:23 +01:00
Michaël Van Canneyt
d45556666e * Properly handle stdout for redir 2024-02-15 14:08:42 +01:00
Pierre Muller
a3b730b0f1 Add POPCNTSupport call to avoid use of unsupported instruction 2024-02-15 09:01:04 +00:00
florian
2575cbc439 * complain about turned off support of c style operators only in the parser,
so error recovery is better
2024-02-11 11:05:05 +01:00
florian
bc0d2293a1 * stricter type checking for set constants, resolves #40631 2024-02-09 23:36:44 +01:00
Sven/Sarah Barth
43721f21c4 * fix #40621: when checking for visibility of members then always use the genericdefs for specializations for correct scoping
+ added test
2024-02-09 17:24:39 +01:00
Pierre Muller
46508f6af1 Add some output to explain failure for test tests/webtbs/tw40624.pp 2024-02-06 13:09:15 +00:00
florian
b6ccf369b9 * patch by Евгений Савин to make Variant to string convertion use CurrToStr for varCurrency, resolves #40624 2024-02-04 14:10:49 +01:00
Sven/Sarah Barth
27a2a04279 * fix #40618: apply adjusted patch by Евгений Савин (@jack128a) so that a non-load case expression is loaded into a temp first when converting a single range branch into an if-clause
+ added test
2024-02-02 15:55:40 +01:00
Pierre Muller
c3b2e35a8f Also use 60 seconds as max_count in new code 2024-02-02 10:53:52 +01:00
Pierre Muller
ac4927aef7 Fix typo in %opt 2024-02-02 10:47:21 +01:00
florian
dc30431d89 * compile with stack checking 2024-01-29 23:28:21 +01:00
Michaël Van Canneyt
d89851d094 * Fixed compilation with FPC 3.2.2 2024-01-29 21:15:20 +01:00
Michaël Van Canneyt
f0703c4dac * Fix exit code 2024-01-29 20:58:39 +01:00
Michaël Van Canneyt
1546c4a794 * Set executeredir 2024-01-29 08:59:56 +01:00
Michaël Van Canneyt
031539dd69 * Use TProcess file redirection facilities 2024-01-28 11:30:37 +01:00
florian
b32573d1eb * inserting $result into the symtables should never trigger a duplicate symbol error, resolves #40608 2024-01-27 22:05:31 +01:00
florian
272417e602 * while on windows the max. possible year should be 1980+127=2127, 2104 causes an error (seems to be limited to 2099), so stay with 2096 2024-01-27 20:38:06 +01:00
florian
d901f72002 * named test properly 2024-01-26 21:43:18 +01:00
florian
14ab1cfb71 * set stack margin on windows, so there is stack space left for exception handling in case of a stack overflow, resolves #40589 2024-01-24 21:31:03 +01:00
Sven/Sarah Barth
981ec64666 * fix #40594: when assigning a nested function to a function reference don't check for the nested procvars parameter, because nested functions can be treated like anonymous functions here
+ added test
2024-01-22 22:27:33 +01:00
Sven/Sarah Barth
47c21fd1bc * fix #40593: don't check for a static method when assigning a methodpointer to a function reference
+ added test
2024-01-22 19:44:36 +01:00
J. Gareth "Curious Kit" Moreton
038c163717 * New CG tests for verifying tvecnode.simplify correctness 2024-01-21 11:56:09 +00:00
florian
08e494ffd1 * extended test 2024-01-21 11:32:28 +01:00
Sven/Sarah Barth
21ffa221e6 * fix #40595: correctly access the list of parameters of the extended method table
+ added test
2024-01-15 23:14:38 +01:00
Sven/Sarah Barth
dd4f7e9148 * fix #40592: make the Delphi-compatible attributes usable, but in a way that makes it clear to the user that they won't work
+ added test
2024-01-15 22:29:47 +01:00
J. Gareth "Curious Kit" Moreton
0418078805 * Added unsigned versions of the "tval" tests 2024-01-13 22:24:08 +00:00
J. Gareth "Curious Kit" Moreton
e6d32f9f36 * Added new "tval2" test that assigns constant string symbol 2024-01-13 22:24:08 +00:00
J. Gareth "Curious Kit" Moreton
d8079ea239 * New "tval1" test to verify that Val with constants works properly 2024-01-13 22:24:08 +00:00
Sven/Sarah Barth
bb5b9acbb2 * ensure that TObject.FieldAddress returns the same values as accessing the RTTI directly 2024-01-12 23:49:46 +01:00
Nikolay Nikolov
a8b4c0772c * fixed bug that caused 'c in ['a'..'z']' to fail on the WebAssembly target, when code is compiled with {$packset 1} 2024-01-10 03:11:13 +02:00
Sven/Sarah Barth
98a25439c3 + add a test that checks for correct working of the legacy method table 2024-01-07 18:09:51 +01:00
florian
94a56ba3d5 + test from Rika for merge request 566 2024-01-06 22:18:30 +01:00
Michaël Van Canneyt
a98462835e * Extended RTTI tests 2024-01-02 07:24:31 +01:00
Sven/Sarah Barth
7eea850726 * TVmtFieldEntry.FieldOffset needs to be SizeUInt instead of PtrUInt, so that it works correctly on the various memory models of i8086 as well
+ added test
2024-01-02 07:09:19 +01:00