~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45c5348
)
src/foo.sod: Split `Second' off into its own separate chain.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 15 Aug 2015 15:15:16 +0000
(16:15 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 15 Aug 2015 15:15:16 +0000
(16:15 +0100)
src/foo.sod
patch
|
blob
|
blame
|
history
diff --git
a/src/foo.sod
b/src/foo.sod
index
9db34ba
..
049179b
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; }
}