Moves virtual under its own section manual_experimental.md (#21870)

This commit is contained in:
Juan M Gómez
2023-05-20 22:52:21 +01:00
committed by GitHub
parent 641e34bcb2
commit fcf2dcf099

View File

@@ -2132,7 +2132,7 @@ The `.sendable` pragma itself is an experimenal, unchecked, unsafe annotation. I
currently only used by `Isolated[T]`.
Virtual pragma
----------------
==============
`virtual` is designed to extend or create virtual functions when targeting the cpp backend. When a proc is marked with virtual, it forward declares the proc header within the type's body.
@@ -2205,4 +2205,4 @@ NimPrinter().printConst(message)
var val: int32 = 10
NimPrinter().printConstRef(message, val)
```
```