Line | |
---|
1 | module checkNoModifiedTemplateOfModifiedTemplateExternal { |
---|
2 | import from checkNoModifiedTemplateOfModifiedTemplate all; |
---|
3 | |
---|
4 | template MyRecordType MyTemplate5 modifies MyTemplate1 := { |
---|
5 | field1 := omit, |
---|
6 | field2 := "A modified string" |
---|
7 | } |
---|
8 | |
---|
9 | // MyTemplate2 is already a modified template |
---|
10 | template MyRecordType MyTemplate6 modifies MyTemplate2 := { |
---|
11 | field1 := 22 |
---|
12 | } |
---|
13 | |
---|
14 | // this one is even modified two times |
---|
15 | template MyRecordType MyTemplate7 modifies MyTemplate6 := { |
---|
16 | field3 := false |
---|
17 | } |
---|
18 | |
---|
19 | |
---|
20 | //nested |
---|
21 | template MyRecordType MyNestedTemplate4 modifies MyNestedTemplate2 := { |
---|
22 | field2 := "D string", |
---|
23 | nestedTemplate :={field1:= 4, field2:="d", field3:=true} |
---|
24 | } |
---|
25 | |
---|
26 | |
---|
27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.