Skip to content

Instantly share code, notes, and snippets.

@ycros
Created September 8, 2010 18:37
Show Gist options
  • Save ycros/570584 to your computer and use it in GitHub Desktop.
Save ycros/570584 to your computer and use it in GitHub Desktop.
===============================================================
- Resolving call to instanceOf (ref = (nil))
resolving arg WriteableEntity
===============
Resolving call this instanceOf(WriteableEntity)
Got tDecl ClassDecl Entity, resolving, meta = ClassDecl EntityClass
====> Search this instanceOf(WriteableEntity) in EntityClass (which has 9 functions)
- Got Entity init!
- Got Entity hasParent -> Bool!
- Got Entity getOption<T> (String, Class, Bool)!
- Got Entity getOption~relative<T> (String, Class)!
- Got Entity setBasePath(String)!
- Got Entity _getPath(String, Bool) -> String!
- Got Entity getWriteableEntity -> WriteableEntity!
- Got Entity __defaults__!
- Got staticEntity __load__!
===============================================================
- Resolving call to hasParent (ref = (nil))
===============
Resolving call hasParent()
====> Search hasParent() in EntityClass (which has 9 functions)
- Got Entity init!
- Got Entity hasParent -> Bool!
- Got Entity getOption<T> (String, Class, Bool)!
- Got Entity getOption~relative<T> (String, Class)!
- Got Entity setBasePath(String)!
- Got Entity _getPath(String, Bool) -> String!
- Got Entity getWriteableEntity -> WriteableEntity!
- Got Entity __defaults__!
- Got staticEntity __load__!
matchesArg, score is now 256
Considering fDecl Entity hasParent -> Bool for fCall hasParent(), score = 512
\o/ Found fDecl for hasParent, it's Entity hasParent -> Bool
** [refScore = -2147483648] Got suggestion Entity hasParent -> Bool for hasParent()
matchesArg, score is now 256
** New high score, 512/Entity hasParent -> Bool wins against -2147483648/(nil)
====> Search this hasParent() in Entity (which has 0 functions)
[realTypize] realTypizing type Bool in this hasParent()
Realtypized return of this hasParent() = Bool, isResolved = true ?
Determined return type of this hasParent() (whose ref rt is Bool) to be Bool
expr = this, type = (nil)
===============================================================
- Resolving call to getWriteableEntity (ref = (nil))
===============
Resolving call this parent getWriteableEntity()
Got tDecl ClassDecl Entity, resolving, meta = ClassDecl EntityClass
====> Search this parent getWriteableEntity() in EntityClass (which has 9 functions)
- Got Entity init!
- Got Entity hasParent -> Bool!
- Got Entity getOption<T> (String, Class, Bool)!
- Got Entity getOption~relative<T> (String, Class)!
- Got Entity setBasePath(String)!
- Got Entity _getPath(String, Bool) -> String!
- Got Entity getWriteableEntity -> WriteableEntity!
- Got Entity __defaults__!
- Got staticEntity __load__!
matchesArg, score is now 256
Considering fDecl Entity getWriteableEntity -> WriteableEntity for fCall this parent getWriteableEntity(), score = 768
\o/ Found fDecl for getWriteableEntity, it's Entity getWriteableEntity -> WriteableEntity
** [refScore = -2147483648] Got suggestion Entity getWriteableEntity -> WriteableEntity for this parent getWriteableEntity()
matchesArg, score is now 256
** New high score, 768/Entity getWriteableEntity -> WriteableEntity wins against -2147483648/(nil)
[realTypize] realTypizing type WriteableEntity in this parent getWriteableEntity()
Realtypized return of this parent getWriteableEntity() = WriteableEntity, isResolved = true ?
Determined return type of this parent getWriteableEntity() (whose ref rt is WriteableEntity) to be WriteableEntity
expr = this parent, type = Entity
===============================================================
- Resolving call to throw (ref = (nil))
===============================================================
- Resolving call to new (ref = (nil))
resolving arg This
resolving arg "Couldn't find a writeable entity for you. Developer's fault."
===============
Resolving call NoWriteableEntityError new(This, "Couldn't find a writeable entity for you. Developer's fault.")
Got tDecl ClassDecl NoWriteableEntityErrorClass, resolving, meta = (nil)
====> Search NoWriteableEntityError new(This, "Couldn't find a writeable entity for you. Developer's fault.") in NoWriteableEntityErrorClass (which has 2 functions)
- Got staticNoWriteableEntityError new~withMsg(...) -> NoWriteableEntityError!
- Got NoWriteableEntityError init~withMsg(...)!
Regular arg consumes one.
Args don't match! Too many call args
doesn't match args, too bad!
Considering fDecl staticNoWriteableEntityError new~withMsg(...) -> NoWriteableEntityError for fCall NoWriteableEntityError new(This, "Couldn't find a writeable entity for you. Developer's fault."), score = -100000
Regular arg consumes one.
Args don't match! Too many call args
doesn't match args, too bad!
\o/ Found fDecl for new, it's staticNoWriteableEntityError new~withMsg(...) -> NoWriteableEntityError
** [refScore = -2147483648] Got suggestion staticNoWriteableEntityError new~withMsg(...) -> NoWriteableEntityError for NoWriteableEntityError new(This, "Couldn't find a writeable entity for you. Developer's fault.")
Regular arg consumes one.
Args don't match! Too many call args
doesn't match args, too bad!
** New high score, -100000/ staticNoWriteableEntityError new~withMsg(...) -> NoWriteableEntityError wins against -2147483648/(nil)
make: *** [reincarnate] Segmentation fault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment