I hereby claim:
- I am fredreichbier on github.
- I am fredreichbier (https://keybase.io/fredreichbier) on keybase.
- I have a public key whose fingerprint is CBBF 0504 EA2F 25D3 9B46 0DD4 9ED4 EA40 716D 9A63
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Can't find header file <test.h> | |
./test.ooc:5:9: No member a found in class Test |
A: const Int = 123 |
module = Module : struct-cover, path = struct-cover.ooc | |
In file included from ooc_tmp/bugs/struct-cover.h:6, | |
from ooc_tmp/bugs/struct-cover.c:2: | |
ooc_tmp/bugs/struct-cover-fwd.h:7: error: redefinition of typedef 'Foo' | |
ooc_tmp/yay.h:1: note: previous declaration of 'Foo' was here | |
C compiler failed, aborting compilation process |
ooc_tmp/bugs/mypackage/mypackage.c: In function 'MyFunc_class': | |
ooc_tmp/bugs/mypackage/mypackage.c:8: error: 'mypackage__MyFunc' undeclared (first use in this function) | |
ooc_tmp/bugs/mypackage/mypackage.c:8: error: (Each undeclared identifier is reported only once | |
ooc_tmp/bugs/mypackage/mypackage.c:8: error: for each function it appears in.) | |
C compiler failed, aborting compilation process | |
because: | |
typedef void (*MyFunc)(); |
$ ooc test-mypackage.ooc | |
In file included from ooc_tmp/bugs/test-mypackage-fwd.h:11, | |
from ooc_tmp/bugs/test-mypackage.h:6, | |
from ooc_tmp/bugs/test-mypackage.c:2: | |
ooc_tmp/bugs/mypackage/mypackage-fwd.h:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token | |
In file included from ooc_tmp/bugs/mypackage/mypackage.h:6, | |
from ooc_tmp/bugs/mypackage/mypackage.c:2: | |
ooc_tmp/bugs/mypackage/mypackage-fwd.h:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token | |
C compiler failed, aborting compilation process |
In file included from ooc_tmp/bugs/test-mypackage-fwd.h:11, | |
from ooc_tmp/bugs/test-mypackage.h:6, | |
from ooc_tmp/bugs/test-mypackage.c:2: | |
ooc_tmp/bugs/mypackage/mypackage-fwd.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mypackage__Cover3' | |
In file included from ooc_tmp/bugs/mypackage/mypackage.h:6, | |
from ooc_tmp/bugs/mypackage/mypackage.c:2: | |
ooc_tmp/bugs/mypackage/mypackage-fwd.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mypackage__Cover3' | |
ooc_tmp/bugs/mypackage/mypackage.c: In function 'Cover3_class': | |
ooc_tmp/bugs/mypackage/mypackage.c:34: error: 'mypackage__Cover3' undeclared (first use in this function) | |
ooc_tmp/bugs/mypackage/mypackage.c:34: error: (Each undeclared identifier is reported only once |
import structs/HashMap | |
Usefile: class extends HashMap<String> { | |
init: func { | |
T = String | |
super() | |
} | |
init: func ~something (something: Object) { | |
T = String |
A: class { | |
msg: String | |
init: func (=msg) {} | |
} | |
B: class extends A { | |
init: func ~noarg {} | |
greet: func { | |
msg println() | |
} |
A: class { | |
msg: String | |
init: func (=msg) {} | |
} | |
B: class extends A { | |
init: func ~noarg {} | |
greet: func { | |
msg println() | |
} |