summary refs log tree commit diff stats
path: root/tests/cpp/tvirtual.nim
Commit message (Collapse)AuthorAgeFilesLines
* makes asmnostackframe work with cpp member #22411 (#22429)Juan M Gómez2023-08-091-0/+37
|
* Fixes Naive virtual crash the compiler fixes #22269 (#22271)Juan M Gómez2023-07-161-0/+4
| | | | | * Fixes Naive virtual crash the compiler fixes #22269 * adds type specific test
* implements allow byref to work in params #21873 (#21875)Juan M Gómez2023-05-211-5/+14
|
* Cpp Vfunctions draft (#21790)Juan M Gómez2023-05-171-0/+68
* introduces virtual pragma, modifies proc def, prevents proc decl * marks virtual procs as infix * forward declare vfuncs inside the typedef * adds naked callConv to virtual * virtual proc error if not defined in the same top level scope as the type * first param is now this. extracts genvirtualheaderproc * WIP syntax * supports obj. Removes the need for the prefix * parameter count starts as this. Cleanup * clean up * sem tests * adds integration tests * uses constraint to store the virtual content * introduces genVirtualProcParams --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>