Skip to content

Instantly share code, notes, and snippets.

@ycros
Created October 4, 2010 14:46
Show Gist options
  • Save ycros/609800 to your computer and use it in GitHub Desktop.
Save ycros/609800 to your computer and use it in GitHub Desktop.
===============================================================
- Resolving call to init (ref = (nil))
===============
Resolving call this init()
Got tDecl ClassDecl B, resolving, meta = ClassDecl BClass
====> Search this init() in BClass (which has 4 functions)
- Got staticB new -> B!
- Got B init!
- Got B __defaults__!
- Got staticB __load__!
matchesArg, score is now 256
Considering fDecl B init for fCall this init(), score = 768
Args don't match! Not enough call args
doesn't match args, too bad!
Considering fDecl A init(T) for fCall this init(), score = -100000
\o/ Found fDecl for init, it's B init
** [refScore = -2147483648] Got suggestion B init for this init()
matchesArg, score is now 256
** New high score, 768/B init wins against -2147483648/(nil)
[realTypize] realTypizing type void in this init()
Realtypized return of this init() = void, isResolved = true ?
Determined return type of this init() (whose ref rt is void) to be void
expr = this, type = B
===============================================================
- Resolving call to super (ref = (nil))
===============
Resolving call super()
Args don't match! Not enough call args
doesn't match args, too bad!
Considering fDecl A init(T) for fCall super(), score = -100000
[realTypize] realTypizing type void in this init()
Realtypized return of this init() = void, isResolved = true ?
Determined return type of this init() (whose ref rt is void) to be void
expr = this, type = A
[OutOfBoundsException in ArrayList]: Trying to access an element at offset 0, but size is only 0!
[backtrace]
rock(lang_Exception__Exception_addBacktrace_impl+0x48)[0x50c9bc]
rock(lang_Exception__Exception_addBacktrace+0x20)[0x50cdaa]
rock(lang_Exception__Exception_throw_impl+0x24)[0x50ccf8]
rock(lang_Exception__Exception_throw+0x23)[0x50ce3b]
rock(structs_ArrayList__ArrayList_checkIndex_impl+0x4d)[0x513b08]
rock(structs_ArrayList__ArrayList_checkIndex+0x2e)[0x513edb]
rock(structs_ArrayList__ArrayList_get_impl+0x28)[0x5134d2]
rock(structs_ArrayList__ArrayList_get+0x37)[0x513cf3]
rock(rock_middle_FunctionCall__FunctionCall_handleGenerics_impl+0x148)[0x4aee4f]
rock(rock_middle_FunctionCall__FunctionCall_handleGenerics+0x37)[0x4b19ea]
rock(rock_middle_FunctionCall__FunctionCall_resolve_impl+0x1326)[0x4ac442]
rock(rock_middle_Node__Node_resolve+0x37)[0x4993cd]
rock(rock_middle_Scope__Scope_resolve_impl+0x73)[0x4ce1e6]
rock(rock_middle_Scope__Scope_resolve+0x37)[0x4ce9b3]
rock(rock_middle_FunctionDecl__FunctionDecl_resolve_impl+0xe06)[0x4b4ebd]
rock(rock_middle_FunctionDecl__FunctionDecl_resolve+0x37)[0x4b9816]
rock(rock_middle_TypeDecl__TypeDecl_resolve_impl+0xaac)[0x4a4cf3]
rock(rock_middle_ClassDecl__ClassDecl_resolve_impl+0x19f)[0x4a8239]
rock(rock_middle_ClassDecl__ClassDecl_resolve+0x37)[0x4a91d0]
rock(rock_middle_TypeDecl__TypeDecl_resolve_impl+0xb58)[0x4a4d9f]
[rethrow]
rock(lang_Exception__Exception_addBacktrace_impl+0x48)[0x50c9bc]
rock(lang_Exception__Exception_addBacktrace+0x20)[0x50cdaa]
rock(lang_Exception__Exception_throw_impl+0x24)[0x50ccf8]
rock(lang_Exception__Exception_throw+0x23)[0x50ce3b]
rock(lang_Exception__Exception_rethrow_impl+0x18)[0x50cd54]
rock(lang_Exception__Exception_rethrow+0x23)[0x50ce60]
rock(rock_frontend_CommandLine__CommandLine_init+0x27f4)[0x4864a3]
rock(rock_frontend_CommandLine__CommandLine_new+0x41)[0x4871d0]
rock(main+0x3f)[0x483c3e]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f74bee16c4d]
rock[0x483a99]
[1] 13456 abort rock dotvar.ooc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment