Commit Graph

2776 Commits

Author SHA1 Message Date
florian
85c7368759 * handle also simulated flags in tmipselnotnode.second_boolean, resolves #39877 2022-08-24 21:16:23 +02:00
florian
2670eb1ce7 * improved test as proposed by Rika 2022-08-23 21:27:44 +02:00
florian
4f7dffadbb * extended test 2022-08-22 21:33:52 +02:00
florian
5af087cfc3 * experimental test for #39722, no sure if it will work this way on all platforms 2022-08-21 23:03:38 +02:00
florian
d3d4de7818 * test for #39834, previous commits resolve #39834 2022-08-20 18:11:24 +02:00
Sven/Sarah Barth
61debb1559 * fix #39869: correctly check whether the recorded token stream still needs to be parsed (the replay depth of the scanner needs to be *larger* than what it was before starting the playback)
+ added test
2022-08-18 23:09:01 +02:00
florian
9e14dee1c3 * fixed Math.Tanh as proposed by Paolo Valle, resolves #39867 2022-08-17 20:56:43 +02:00
Ondrej Pokorny
55629aeb19 do not publish enums with jumps 2022-08-16 20:47:44 +02:00
Sven/Sarah Barth
5e7330448d * fix #39858: correctly keep track of symbols that need to be captured into the capturer
+ added test
2022-08-12 17:44:39 +02:00
florian
5afd809e88 + handle LOC_FLAGS in thlcgobj.location_force_mem, resolves #39292 2022-08-08 23:14:56 +02:00
J. Gareth "Curious Kit" Moreton
8ba76f7d0a * New test to catch i39851 2022-07-31 19:45:23 +00:00
florian
6c47f8f4d7 * do not warn on anonymous functions without captured variables about being not used, resolves #39853 2022-07-29 21:46:48 +02:00
Jonas Maebe
3d6c53ee74 parentfpstruct: explicitly trash before initialising
It's an internal sym, but it contains user data. Together with the previous
commit resolves #39845
2022-07-26 22:36:13 +02:00
Sven/Sarah Barth
8d90cd3e64 * fix #39826: correctly handle function references that are part of generics/specializations, but are not generics/specializations themselves
+ added test
2022-07-15 16:32:02 +02:00
florian
d27c3b4b79 + test for #33559 2022-07-13 22:53:37 +02:00
florian
e25594c48e * correctly truncate rtti symbol names of enumeration types, resolves #39829 2022-07-11 22:07:57 +02:00
florian
1d32a575e7 * as correctly pointed out by Bart B, -gw instead of -g should be used in the test for #39816 2022-07-06 19:50:07 +02:00
florian
e28238da9b * handle absolute on strings correctly for dwarf debug info, resolves #39816 2022-07-05 23:04:57 +02:00
florian
a9db747eb9 + test for #39786 2022-07-04 22:52:05 +02:00
florian
a2a2a6d79e * naming fixed, it is a test for #39785 2022-07-03 16:09:09 +02:00
florian
c5a0d16c58 * experimental test for #39758 2022-07-02 23:36:14 +02:00
florian
ceda27ae25 * allow type parameters in variant parts of records as we do not now
what type is used during specialization, resolves #39805
2022-06-28 22:45:17 +02:00
Sven/Sarah Barth
b2a5334a75 * fix #39795: when extracting make_prettystring it was forgotten to also append the const part of the name to the specialize name 2022-06-22 09:44:21 +02:00
Nikolay Nikolov
4d6e3b4e1a * Don't call secondpass(left) in twasmtypeconvnode.second_int_to_real, this fixes bug #39735. 2022-06-21 23:59:25 +03:00
florian
98ec81896e * do not throw messages on potentially uninitialized internal symbols, resolves #39744 2022-06-15 23:30:33 +02:00
florian
a05aa25aad * Risc-V: allow also register aliases in register modification lists after asm blocks, last part to resolve #39738 2022-06-03 22:54:18 +02:00
Sven/Sarah Barth
a27bc236a0 * fix #39742: when assigning a function to a function reference it's not the function itself that needs to be checked to be captureable, but instead what it captures (this applies for both the non-generic and the generic case)
+ added tests
2022-05-31 23:16:41 +02:00
Sven/Sarah Barth
2372a06926 * fix #39740: consider a conversion of a procedure or procedure variable to a function reference as a bit more expensive than otherwise
+ added test
2022-05-31 22:50:14 +02:00
Sven/Sarah Barth
5a680f0148 * fix #39745: the conversion from ordinals to pointer types in mode Delphi is not allowed for a void type (happens when using a typecast to convert a method without parameters to a function reference)
+ added test
2022-05-30 23:05:45 +02:00
Sven/Sarah Barth
f73fc7d566 * fix #39736: ensure that the capturer object and any converted function reference interface are considered used
+ added test
2022-05-27 07:24:46 +02:00
Jonas Maebe
0d74752b1f Fix %cpu type as spotted by Alexey Torgashin 2022-05-15 18:01:48 +02:00
Jonas Maebe
9b11509dd0 Text for merge request #226 2022-05-15 10:57:43 +02:00
Pierre Muller
8184287ec0 Fix for variables longer than 127 chars 2022-05-10 23:18:01 +02:00
J. Gareth "Curious Kit" Moreton
fb14bc8459 * New webtbs/tw39646.pp test to evaluate fix for
i39646
2022-05-07 20:53:35 +00:00
florian
f5742f21a0 * do not run test, it is about successful compilation and runtime on weak CPUs is high 2022-05-01 22:58:24 +02:00
florian
3fac399683 * more precise test as suggested here: 876ae56158 (note_921869640) 2022-04-24 14:41:06 +02:00
florian
876ae56158 * patch by Rika: fix for ... in iterator for TMap and TSet, resolves #39354 2022-04-23 21:51:26 +02:00
Sven/Sarah Barth
74f9523806 * in case of an implicit specialization ensure that the symbol of the generic is indeed considered as used once the final implicit specialization has been picked
+ added test
2022-04-23 16:29:13 +02:00
Sven/Sarah Barth
97c16401f7 + add test for already fixed #39677 2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
22a4cc66ec * fix #39675: consider the symbols for unnamed parameters as used so that there won't be unnecessary hints about them
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
76753438ed * fix #39681: also handle the result type of a specialized procvar when checking for a possible implicit specialization
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
66bac7c415 * fix #39679 and fix #39680: for implicit specializations a parameter used in a call might also inherit in some depth from a specialization used as parameter type
+ added tests
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
4053d59a2c * fix #39673: also resolve the dummy symbol in case this isn't a reuse of the current generic's name
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
d32134dd1a * fix #39664: ensure that the 8- and 16-bit signed overloads of IntToHex return the correct number of digits
+ added test
2022-04-19 14:24:00 +02:00
florian
62f21ae60d + recurse into multiple subscription nodes when calculating contant @... expressions, resolves #39665 2022-04-13 21:32:06 +02:00
Pierre Muller
a939c0ccd4 Add several tests for 127 max ID length, related to bug report #39661 2022-04-13 15:15:18 +00:00
florian
4c5fc2f958 * patch by Rika: avoid that capacity of TQueue grows to much for certain
usage patterns, resolves #39662
2022-04-12 17:36:42 +02:00
Sven/Sarah Barth
815734c47a * fix #32034 and fix #39656: in a for-in-loop with an array constructor enforce the type of the loop variable for the elements
+ added tests
2022-04-08 17:40:36 +02:00
florian
81d7e28a87 + test for #39627, together with the last merge request it resolves #39627 2022-04-03 15:08:24 +02:00
Jonas Maebe
9813eb9048 AArch64 asm reader: add support for fpcmp(e) conditions
Resolves #39643
2022-04-03 13:40:21 +02:00