Skip to content

Instantly share code, notes, and snippets.

@fitomad fitomad/never_no_return.txt Secret
Created Jun 11, 2019

Embed
What would you like to do?
never.swift:38:1: warning: will never be executed
returningFunction()
^
never.swift:35:1: note: a call to a never-returning function
neverEndingFunction()
^
returningFunction()
returningFunction(withParameter: Parametro)
Fatal error: No voy a devolver el control: file never.swift, line 26
Current stack trace:
0 libswiftCore.so 0x00007f18fac41d40 swift_reportError + 50
1 libswiftCore.so 0x00007f18facb0580 _swift_stdlib_reportFatalErrorInFile + 115
2 libswiftCore.so 0x00007f18fabd40ee <unavailable> + 3543278
3 libswiftCore.so 0x00007f18fabd4267 <unavailable> + 3543655
4 libswiftCore.so 0x00007f18fa9c357d <unavailable> + 1377661
5 libswiftCore.so 0x00007f18fabac568 <unavailable> + 3380584
6 libswiftCore.so 0x00007f18fa9c2949 <unavailable> + 1374537
9 swift 0x00000000005260ce <unavailable> + 1204430
10 swift 0x000000000052a9b2 <unavailable> + 1223090
11 swift 0x000000000051aa9f <unavailable> + 1157791
12 swift 0x00000000005093f8 <unavailable> + 1086456
13 swift 0x0000000000504bff <unavailable> + 1068031
14 swift 0x00000000004a010d <unavailable> + 655629
15 libc.so.6 0x00007f18fc6c0740 __libc_start_main + 240
16 swift 0x000000000049fc89 <unavailable> + 654473
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.