Michaël Van Canneyt
|
4e641d008d
* Do not insert widechar -> ansichar conversion node in const declaration
|
2 years ago |
Sven/Sarah Barth
|
7037635825
* fix #40221: don't allow a conversion from an anonymous function to a procvar type if compare_defs_ext already rejected them
|
2 years ago |
Sergey Larin
|
1de727d958
Allow WideChar const to UTF8String const conversion
|
3 years ago |
Sven/Sarah Barth
|
f1655b71f8
* fix #40062: ensure that Self is only added to anonymous functions when dealing with method pointers
|
2 years ago |
Sven/Sarah Barth
|
5712347eb4
* when assigning an anonymous function to a method pointer move the function to the normal function level to avoid potential problems when accessing other variables
|
2 years ago |
Sven/Sarah Barth
|
40393b3aab
* don't free the old, captured Self symbol as that does not belong to the anonymous function
|
2 years ago |
Pierre Muller
|
63d15d3258
Fix position of call to simplify method as suggested by Jonas
|
2 years ago |
Pierre Muller
|
6095499511
Generate warning in delphi mode and error otherwise on class to classref or classref to class typecasts
|
2 years ago |
Pierre Muller
|
242056074f
Generate an error on explicit typecast from class to classref or from classref to class
|
3 years ago |
Sven/Sarah Barth
|
3c2703787c
* ensure that newly created tloadparentfpnodes have a valid resultdef as they might be created in situation where the loadnode itself is no longer typechecked
|
2 years ago |
florian
|
1c86a4bbeb
* if a pointer_to_array type conversion is applied to a variable, it is not written, resolves #39957
|
3 years ago |
Jonas Maebe
|
a6c7ed5e61
vector support: use vector result types
|
3 years ago |
Jonas Maebe
|
743d7c50d0
do_set: immediately exit in case of range error
|
3 years ago |
Sven/Sarah Barth
|
7974f39522
* implement assignment of procedure and method variables and routines (global, instance and nested) to function references
|
3 years ago |
Sven/Sarah Barth
|
76df7144ba
* implement necessary conversion functionality for anonymous procdefs to function reference interfaces including capturing of variables
|
3 years ago |
Sven/Sarah Barth
|
2be8f01efe
* implement assignment of anonymous functions to procedure or method variables if they either capture nothing or (in case of method variables) at most the Self variable
|
4 years ago |
Sven/Sarah Barth
|
2cc621618a
* Delphi-mode calling without parenthesis
|
4 years ago |
Sven/Sarah Barth
|
6e7a82440e
* apply patch by Blaise.ru: avoid internal error when assigning class methods, accessed via a class reference type, to incompatible procvars
|
3 years ago |
J. Gareth "Curious Kit" Moreton
|
54aae023ea
* Bug fix that prevents downsizing of
|
3 years ago |
florian
|
29a5d3267c
* moved warning about suspicious comp assignment to type check pass, catches also
|
4 years ago |
florian
|
71dc62dde6
* if left is a smaller type, then an extension operation for shr can be removed
|
4 years ago |
florian
|
09628e56cb
* even if currency is handled by torddef, it is a real number, so using / is perfectly right, resolves #38718
|
4 years ago |
florian
|
ecce39a3b2
+ throw a warning in ISO mode if a constant string is assigned to a char and the sizes do not match, resolves #38439
|
4 years ago |
florian
|
344aadebb9
* avoid widening of shl operations, this is not necessary for them either
|
4 years ago |
florian
|
9858d9c5e6
* apply doremoveinttypeconvs to unary minus and not on 8 and 16 bit targets as well
|
4 years ago |
florian
|
d5dcf5cd7a
* cleanup
|
4 years ago |
florian
|
ea11517d27
+ optimization type converted (modulo) divisions as well by removing up/down converting but,
|
4 years ago |
florian
|
6380df9b42
* correctly simplify tree transforms of (a+c1+c2) if a is a pointer, resolves #37671
|
4 years ago |
florian
|
dc547b1426
+ remove type conversions also for unary operations if possible
|
5 years ago |
florian
|
637976e83f
* patch by Marģers to unify internal error numbers, resolves #37888
|
5 years ago |