Sven/Sarah Barth
|
d221f42a57
* ensure that the correct overload is picked for function reference parameters
|
2 years ago |
florian
|
2396b36c21
* nil =/<> dyn. array is a valid expression, so isbinaryoperatoroverloadable needs to take care of it, resolves #39933
|
2 years ago |
florian
|
9a760db573
* nicer error message
|
2 years ago |
Sven/Sarah Barth
|
e21186cac0
* fix #39902: in case of mode ObjFPC function pointers passed to parameters need to be checked for the correct procdef as well
|
2 years ago |
Jonas Maebe
|
e746cf96da
Overload selection: call procvars if result is compatible with parameter
|
2 years ago |
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
|
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
|
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
|
b1d9d34665
* only abort due to a missing overload directive if there indeed was any procdef found (due to implicit specializations there might be none), fixes compilation of tests webtbs/tw38310b and webtbs/tw38310c
|
3 years ago |
Sven/Sarah Barth
|
90844c2027
* fix #35261: apply slightly adjusted changes by Ryan Joseph to implement support for implicit generic function specializations
|
3 years ago |
pierre
|
a7de0b365b
Avoid invalid typecast error when using -CR option
|
4 years ago |
svenbarth
|
57d9884d96
* fix for Mantis #38310: ignore procsyms that have no procdefs for checking overloads, or more precisely to stop checking for overloads; these are generic dummy symbols
|
4 years ago |
svenbarth
|
3597696e98
* fix for Mantis #38145: allow overloading of assignment operators that return ShortStrings with a specific size
|
4 years ago |
florian
|
dfaee4f04b
* patch by Jan Bruns to solve an issue with the new overloading selection code, resolves #37969
|
4 years ago |
florian
|
3b0168ae16
* (slightly) modified (formatting, warning) patch by Jan Bruns to speed up overloading search, resolves #36666
|
4 years ago |
florian
|
a628c1c3dd
* if an array constructor is passed to a formaldef parameter, it is passed as a set (if the conversion is possible), resolves #37796
|
4 years ago |
svenbarth
|
60345366f2
* fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics
|
5 years ago |
svenbarth
|
de35356a4d
* when checking for an existing operator overload for the assignment operator, check for the correct variant (explicit or not) matching the overload
|
5 years ago |
florian
|
9bd7401ce9
* comment fixed
|
5 years ago |
florian
|
00859420ab
* correctly handle reading of class/object pointers in combination with @, resolves #26326
|
5 years ago |
Jonas Maebe
|
1a9e246c29
* added is_normal_fieldvarsym() helper and use it
|
5 years ago |
florian
|
2f374a37b7
* patch by Bart Broersma to allow to declare "LongInt = AnsiString" comparison
|
5 years ago |
svenbarth
|
0a915e883e
* keep track of static symbols that a global function references, as those must now be exported from a dynamic package as well if the function can potentially be inlined
|
5 years ago |
Jonas Maebe
|
281b3ad276
* fix case completeness and unreachable code warnings in compiler that would
|
6 years ago |
svenbarth
|
5a5b47fa24
+ add support for MultiHelpers modeswitch by Ryan Joseph for Mantis #35159
|
6 years ago |
svenbarth
|
e6add40495
* fix for Mantis #35348: correctly handle symbols that aren't parameter types (e.g. default values)
|
6 years ago |
svenbarth
|
c147debda1
* ensure that the correct amount of parameters is used for an operator overload (this is essentially important for unary operators that were declared with two arguments)
|
6 years ago |
svenbarth
|
307ff071e6
* allow any untyped parameter to be passed to a untyped constref parameter
|
6 years ago |
Jonas Maebe
|
50ab607676
+ customint torddef type to create arbitraty bit-width integers
|
6 years ago |
yury
|
4682ac269d
* Further improvement for r40180:
|
6 years ago |