Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am ycros on github.
* I am ycros (https://keybase.io/ycros) on keybase.
* I have a public key whose fingerprint is FCE2 414F 88E2 BB4C D875 0D6F D228 9D8C E09F 2D8B
To claim this, I am signing this object:
import Live
import sys
from _Framework.ControlSurface import ControlSurface
def create_instance(c_instance):
return YcrosTest(c_instance)
2010-11-24 05:21:58 [WARNING] Failed to handle packet: java.lang.NullPointerException
java.lang.NullPointerException
at dx.A(SourceFile:831)
at jg.a(SourceFile:62)
at hb.a(SourceFile:126)
at bi.a(SourceFile:218)
at jg.a(SourceFile:35)
at dq.a(SourceFile:85)
at net.minecraft.server.MinecraftServer.h(SourceFile:269)
at net.minecraft.server.MinecraftServer.run(SourceFile:210)
./pipe.ooc:4:18 ERROR No such function
for (elem in foo findAll("a")) {
~~~~~~~~~~~
[FAIL]
main: func {
foo := "pants"
for (elem in foo findAll("a")) {
foo := "meep"
}
}
A: class <T> {
foo: T
init: func(=foo) {
}
}
B: class extends A<Int> {
init: func(.foo) {
===============================================================
- Resolving call to init (ref = B init(T))
resolving arg foo
===============
Resolving call this init(foo)
Got tDecl ClassDecl B, resolving, meta = ClassDecl BClass
====> Search this init(foo) in BClass (which has 4 functions)
- Got staticB new(T) -> B!
===============================================================
- 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!
A: class <T> {
foo: T
init: func(=foo) {
}
}
B: class extends A<Int> {
}
A: class {
foo: String
init: func(=foo) {
}
}
B: class extends A {
init: func {