Skip to content
Nim docs
noReturn
Initializing search
Nim docs
About
Learn
Learn
Introduction
Learn Nim in x minutes
Nim by example
Nim by example
Getting Started
Hello world
Comments
Variables
Procs
Blocks
Flow control
Flow control
If - elif - else
While
Case Statements
For loops
Types
Types
Primitive types
Type aliases
Strings
Enum types
Arrays
Seqs
Object types
Distinct types
Iterators
Type Casting and Inference
First class functions
Bitsets
Files
JSON
Varargs
String Formatting
Object Oriented Programming
Parallelism
Channels
Concurrency
Macros
How-to
How-to
Index
Interop
Interop
Cpp
Cpp
Introduction
Where to start?
Compiler parameters
Types - smart pointers
Constructors
Nothing new
Methods
Nothing new
Reference
Reference
Authors
Lexis
Lexis
About
Definitions
Lexical Analysis
Syntax
Order of evaluation
Constants and Contants Expressions
Restrictions on Compile-Time Execution
Types
Type Relations
Overload Resolution
Overload Disambiguation
Statements Expressions
Procedures
Methods
Iterators and the for statement
Converters
Type sections
Exception Handling
Effect System
Generics
Templates
Macros
Special Types
Modules
Compiler Messages
Pragmas
Pragmas
Pragmas
Pragmas
Introduction
depricated
compileTime
noReturn
noReturn
Table of contents
noReturn pragma
acyclic
shallow
pure
asmNoStackFrame
fatal
warning
hint
line
linearScanEnd
computedGoto
immediate
compilation option
push / pop
register
global
used
experimental
Implementation Specific Pragmas
User-defined pragmas
Foreign Function Interface
Foreign Function Interface
FFI
importc
exportc
extern
bycopy
byref
varargs
union
packed
dynlib
dynlib
dynlib for import
dynlib for export
Threads
Threads
Introduction
thread
threadvar
Explanation
Explanation
Index
Table of contents
noReturn pragma
noReturn
noReturn pragma
The
noreturn
pragma is used to mark a proc that never returns.