little correction
This commit is contained in:
parent
9de631234d
commit
798000c756
|
@ -467,8 +467,7 @@ main := fn(): uint {
|
||||||
```hb
|
```hb
|
||||||
main := fn(): never {
|
main := fn(): never {
|
||||||
// simply emmits 'un' instruction that immediately terminates the execution
|
// simply emmits 'un' instruction that immediately terminates the execution
|
||||||
// the expression evaluates into `never` type that can coerce into any other
|
// the expresion has similar properties to 'return' but does not accept a value
|
||||||
// type
|
|
||||||
die
|
die
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue