Skip to content

Instantly share code, notes, and snippets.

@fitomad
Created June 11, 2019 08:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitomad/7c5fec12f4209a6b4ac507ed329d8e8d to your computer and use it in GitHub Desktop.
Save fitomad/7c5fec12f4209a6b4ac507ed329d8e8d to your computer and use it in GitHub Desktop.
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