mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 14:23:45 +00:00
Moves virtual under its own section manual_experimental.md (#21870)
This commit is contained in:
@@ -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)
|
||||
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user