paul
|
11d4eddf67
compiler: a trial to implement record constructor
|
14 years ago |
paul
|
582ab2dd32
compiler: disallow regular class methods in records and allow only static class methods. delphi do so and it is logical because records have no inheritance. + tests
|
14 years ago |
paul
|
17815ce7a2
compiler: implement properties in records:
|
14 years ago |
paul
|
7852295f26
compiler: start parsing of record constructors and destructors:
|
14 years ago |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
14 years ago |
paul
|
26cef34005
compiler:
|
14 years ago |
paul
|
902a78eec1
compiler: add current_structdef: tabstractrecorddef and point current_objectdef to it
|
14 years ago |
paul
|
8e36256bc9
compiler: add support for visibility blocks in records and type, const declarations:
|
14 years ago |
paul
|
af39178e06
compiler: redo type search in parent classes. previous trial breaks objective pascal implementation
|
14 years ago |
florian
|
9dc584efbf
* patch by Aleksa Todorovic to solve another issue with nested generics, resolves #17193
|
14 years ago |
paul
|
ab4a5c74c1
compiler: allow TFoo.TBar types for object methods (bug #0018123)
|
14 years ago |
paul
|
37179a6558
compiler: cleanup
|
14 years ago |
paul
|
8a5c99599e
compiler: skip functions symtables while generating generic specialization symtable stack (fixes test tw12249.pp and bug #0012249)
|
14 years ago |
paul
|
8aef216f21
compiler: allow nested objects to refence owner class in method arguments (issue #0017986)
|
14 years ago |
florian
|
675c3391d1
* makes compiler report nice error when one tries to use specialize for function result type, based on a patch by Aleksa Todorovic, part of #15875
|
14 years ago |
florian
|
d30952b408
* patch by Aleksa Todorovic which adds the ability to reference current generic class. Each reference to current generic class is "translated" to appropriate specialization of that generic class. There are two tests as part of the patch to test that it works. The patch, also, rejects declaring generic inside another generic. 0010479 is easy to implement with this patch applied, resolves #11777
|
14 years ago |
paul
|
a8deeaa168
compiler: fix search of outer class type inside inner type declarations (bug #0017945)
|
15 years ago |
florian
|
eb3644140a
* patches from Aleksa Todorovic for #15480 to improve error reporting, does not resolve #15480
|
15 years ago |
florian
|
deef8dfa33
* better error message in case of self-referencing generics specialization, resolves #17181
|
15 years ago |
Jonas Maebe
|
57bd6d2685
+ merged nestedprocvars branch
|
15 years ago |
florian
|
aa05cf8b1a
+ allow packed file of ...
|
15 years ago |
Jonas Maebe
|
f5c52b25cd
* removed "and not is_class()" condition from is_managed_type(), because
|
15 years ago |
Jonas Maebe
|
40705a085f
* renamed is_refcounted_type() into is_managed_type(), because it also
|
15 years ago |
paul
|
1b614b526a
compiler:
|
15 years ago |
paul
|
1768810783
compiler: allow to derive classes from a nested class type (issue #0016083)
|
15 years ago |
Jonas Maebe
|
88f5addd1c
* do not typecheck statements before checking whether they are valid,
|
15 years ago |
Jonas Maebe
|
dd94f5cf2b
* no longer allow typed files of reference counted data (mantis #15447)
|
15 years ago |
Jonas Maebe
|
f8754d8fab
+ Objective-C category support (old and new ABI, both external and
|
16 years ago |
florian
|
5d01732128
* several fixes which improve the behaviour of nested generics, resolves #15077
|
16 years ago |
Jonas Maebe
|
f238f7c74b
+ allow defining classrefdefs for objcclasses. Note, this happens using the
|
16 years ago |