florian
|
36e9e39bca
* allow type casted pointer constants being used as arrays which address can be takes, resolves #41177
|
4 months ago |
Rika Ichinose
|
8498eacdeb
Remove unused cutils functions.
|
9 months ago |
Rika Ichinose
|
7343a12908
Use “set of (op_unary, op_binary)” to check for supported operator overloads.
|
9 months ago |
Rika Ichinose
|
7a963ac56a
Align htypechk.pas:is_better_candidate to the left edge of the screen.
|
9 months ago |
florian
|
b28681e91d
* properly reject function calls as target of absolute, resolves #40977
|
9 months ago |
Rika Ichinose
|
510a281c3f
Use a set instead of boolean arguments to TCallCandidates.
|
3 years ago |
Rika Ichinose
|
326776c7fa
Turn TCallCandidates into an object, make it create FIgnoredCandidateProcs on demand, and outline such adding on demand into dedicated TFPList.AddOnDemand.
|
3 years ago |
florian
|
8b2ebd07bf
* don't throw an internal error if a procedure is passed to a const formal parameter, resolves #40817
|
1 year ago |
J. Gareth "Curious Kit" Moreton
|
1bba83cebb
* Flags specific to TVecNode have been moved to their own field
|
1 year ago |
Pierre Muller
|
37c3e86c7f
Also reset check_valid_var after calling var_para_allowed
|
1 year ago |
Pierre Muller
|
692754b422
Move test to end of possible conversion and add check_valid_var boolean variable
|
1 year ago |
Pierre Muller
|
f39cfc75fc
First attempt to fix bug report #40537
|
1 year ago |
Michaël Van Canneyt
|
fe62b3ace8
* Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently
|
1 year ago |
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
|
1 year ago |
Jonas Maebe
|
2db4cae7aa
nested procvars: support assignments when switch not active
|
1 year ago |
Jonas Maebe
|
13346a42bc
volatile: allow for assignments
|
2 years ago |
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 |