chiark
/
gitweb
/
~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/foo.sod: Split `Second' off into its own separate chain.
[sod]
/
src
/
foo.sod
diff --git
a/src/foo.sod
b/src/foo.sod
index 9db34bae19eab0b64c7524bcbf4b35b0d90c558c..049179b8401d4d5778c5515b5612f705b0923b31 100644
(file)
--- a/
src/foo.sod
+++ b/
src/foo.sod
@@
-17,7
+17,7
@@
class Test : SodObject {
void dec() { me->test.x--; }
}
-[
link = Test,
nick = snd]
+[nick = snd]
class Second : Test {
- void test.dec() {
me
->test.x -= 3; }
+ void test.dec() {
Test *t = SECOND__CONV_TEST(me); t
->test.x -= 3; }
}