Browse Source
The case of using relative operators and multiple inheritance is handled now. Fixes #244dev
7 changed files with 108 additions and 14 deletions
@ -0,0 +1,12 @@
|
||||
# Here's a complex test case inspired by bug 244 |
||||
socrates: |
||||
x: 100 |
||||
y: 1000 |
||||
plato: |
||||
y: 2000 |
||||
aristotle: |
||||
extends: |
||||
- socrates |
||||
- plato |
||||
x: += 0.1in # 0.1in -> 30.0, so 100 + 30 = 130.0 |
||||
y: += 18 # From Plato, 2000 + 18 |
||||
@ -0,0 +1,9 @@
|
||||
socrates: |
||||
x: 100 |
||||
plato: |
||||
x: 200 |
||||
aristotle: |
||||
extends: |
||||
- socrates |
||||
- plato |
||||
x: += 50 # evaluates to 250 from plato |
||||
@ -0,0 +1,9 @@
|
||||
socrates: |
||||
x: 100 |
||||
plato: |
||||
y: 200 |
||||
aristotle: |
||||
extends: |
||||
- socrates |
||||
- plato |
||||
x: += 50 # evaluates to 150 from socrates |
||||
Loading…
Reference in new issue