W3cubDocs

/Nim

semstrictfuncs

Source Edit

New "strict funcs" checking. Much simpler and hopefully easier to teach than the old but more advanced algorithm that can/could be found in varpartitions.nim.

Imports

ast, typeallowed, renderer, aliasanalysis, trees

Procs

proc isDangerousLocation(n: PNode; owner: PSym): bool {....raises: [Exception],
    tags: [RootEffect], forbids: [].}
Source Edit

© 2006–2024 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/compiler/semstrictfuncs.html