summaryrefslogtreecommitdiff
path: root/tests/test/tdispinterface2.pp
Commit message (Collapse)AuthorAgeFilesLines
* Improvements to dispinterface property handling:sergei2011-01-241-0/+36
| | | | | | | | | | | * Create implicit access methods, which hold type information for property parameters and allow parsing/typechecking occur the same way as for regular (non-dispinterface) properties. + Introduce separate proctypeoptions for property access methods. They are translated into correct dispatch call types and used to distinguish property access from regular method calls. * Bump PPU version because new information has been introduced. - Code specific to dispinterface properties in expression parser is no longer necessary, removed. * Allow access to default property with [] for dispinterfaces. + Extended the test with basic correctness checks for property dispatching. git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16810 3ad0048d-3df7-0310-abae-a5850022a9f2
* tests: fix test crashpaul2010-01-241-0/+3
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14793 3ad0048d-3df7-0310-abae-a5850022a9f2
* compiler: translate_disp_call:paul2010-01-241-1/+6
| | | | | | | - fix arguments description if the first argument is empty - fix restype field value (describes result value type in variant types) git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14790 3ad0048d-3df7-0310-abae-a5850022a9f2
* tests: test arguments passing for dispinterfacespaul2010-01-231-5/+32
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14784 3ad0048d-3df7-0310-abae-a5850022a9f2
* compiler: auto generate method/property dispid if it is not set explicitlypaul2010-01-221-0/+44
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14766 3ad0048d-3df7-0310-abae-a5850022a9f2