You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 24, 2020. It is now read-only.
When a try to run a sdkgen with the code below this produce a nil exception fired by the crystal.
function funcName(param1: string):
Error Logging
Unhandled exception: Nil assertion failed (Exception)
from /usr/lib/crystal/class.cr:148:0 in 'not_nil!'
from /home/icaro/cubos/sdkgen/src/syntax/token.cr:0:3 in 'filename'
from /home/icaro/cubos/sdkgen/src/syntax/token.cr:11:5 in 'location'
from /home/icaro/cubos/sdkgen/src/syntax/parser.cr:289:35 in 'parse_type'
from /home/icaro/cubos/sdkgen/src/syntax/parser.cr:211:7 in 'parse_operation'
from /home/icaro/cubos/sdkgen/src/syntax/parser.cr:49:9 in 'parse'
from /home/icaro/cubos/sdkgen/src/main.cr:38:9 in '__crystal_main'
from /usr/lib/crystal/crystal/main.cr:97:5 in 'main_user_code'
from /usr/lib/crystal/crystal/main.cr:86:7 in 'main'
from /usr/lib/crystal/crystal/main.cr:106:3 in 'main'
from __libc_start_main
from _start
from ???