paul
|
f9f316ac45
compiler: don't set a structure to routine if it accidentally match some (bug #0018452)
|
il y a 14 ans |
paul
|
86482658a8
compiler: fix tgeneric11 test:
|
il y a 14 ans |
paul
|
31de2aab1b
compiler: change parse_proc_head pd argument access type from var to out
|
il y a 14 ans |
paul
|
749075a851
compiler: ignore case when check type parameters for identity
|
il y a 14 ans |
paul
|
bd64575add
compiler: require generic name with type parameters for the method class prefix (like TGenericClass<T>.MethodName instead of TGenericClass.MethodName) in delphi mode
|
il y a 14 ans |
paul
|
fa41b6ffe3
compiler: allow generic classes to derive from generic classes and generic interfaces
|
il y a 14 ans |
Jonas Maebe
|
3ca3276400
* changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another
|
il y a 14 ans |
paul
|
e8502b8ec2
compiler: make current_genericdef, current_specializedef tstoreddef instead of tabstractrecorddef to implement generic arrays
|
il y a 14 ans |
paul
|
52667b6822
compiler: implement generics for records based on generic objects implementation + 1 test
|
il y a 14 ans |
paul
|
ee78cf0f06
compiler: use current_structdef in more places where current_objectdef was used, change type of current_genericdef and current_specializedef to tabstractrecorddef for future use with generic records
|
il y a 14 ans |
paul
|
210e78e4fa
compiler: allow objects and records to have members which point to themself. only don't permit this to regular fields.
|
il y a 15 ans |
paul
|
e098046608
compiler: fix typo
|
il y a 15 ans |
paul
|
51a9d3280c
compiler: require at least one argument of class operator to be of type of structure where this operator is declared
|
il y a 15 ans |
paul
|
ee6fe6c4f5
compiler: add unary plus node, search for unary plus operator if a type cannot be handled by compiler, increase ppu version because of node types change
|
il y a 15 ans |
paul
|
c0c7e40b65
compiler: allow Inc, Dec, Explicit operators for other fpc modes
|
il y a 15 ans |
paul
|
66b128efb3
compiler: map delphi Implicit operator to := operator of FPC, add Explicit operator for delphi only (for now) which works when explicit type conversion happens + extend test
|
il y a 15 ans |
paul
|
4531e1231b
compiler: implement Inc, Dec class operators
|
il y a 15 ans |
paul
|
8c8c1fc151
compiler:
|
il y a 15 ans |
paul
|
3c6fde4acc
compiler: rename parser_e_constructors_always_objects message to parser_e_only_methods_allowed and extended the meaning it has, don't allow class constructors to be declared outside the class/record + test
|
il y a 15 ans |
paul
|
b811f1be15
compiler: implement delphi style class operators:
|
il y a 15 ans |
paul
|
d97cf8ed9d
compiler: implement IN operator which was known by compiler but was not supported. + test
|
il y a 15 ans |
paul
|
92d6503704
compiler: rename _EQUAL token to _EQ to prevent problems with adding delphi operator names which contains "EQUAL" name, also rename _UNEQUAL to _NE for consistency
|
il y a 15 ans |
paul
|
8c0c614d5a
compiler: allow <> operator overload. search for "<>" operator first for "<>" expressions and if not found then use "=" operator + test
|
il y a 15 ans |
paul
|
742b0bb686
compiler: partly revert r16560 and disable (at least temporary) constructors in records
|
il y a 15 ans |
paul
|
8c56269076
compiler: fix record constructor return type when parsing procedure declaration
|
il y a 15 ans |
paul
|
11d4eddf67
compiler: a trial to implement record constructor
|
il y a 15 ans |
paul
|
289c9bd192
compiler: remove unneeded checks and typecasting caused by move of objectoptions into tabstractrecorddef
|
il y a 15 ans |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
il y a 15 ans |
paul
|
26cef34005
compiler:
|
il y a 15 ans |
paul
|
2155dadf5e
compiler: push to the stack not only nested hierarchy but also class hierarchy for each nested entry both in method declaration and for method body, also push child hierarchy while parsing object members because in other case parent types are invisible for descendants (fixes mantis #0018124, mantis #0018127 and more) + extended test
|
il y a 15 ans |