@@ -9,6 +9,52 @@ printWidth: 80
99contract ContractDefinition is Contract1, Contract2, Contract3, Contract4, Contract5 {
1010}
1111
12+ contract StorageLayoutSpecifier layout at 123 {
13+ }
14+
15+ contract StorageLayoutSpecifier1 layout at 1234567890 * 1234567890 - 1234567890 / 1234567890 {
16+ }
17+
18+ contract StorageLayoutSpecifier2 layout at veryVeryLongFunction(12345678901234567890 * 12345678901234567890 - 12345678901234567890 / 12345678901234567890 + 12345678901234567890 - 12345678901234567890) {
19+ }
20+
21+ contract StorageLayoutSpecifier3 is Contract1 layout at 123 {
22+ }
23+
24+ contract StorageLayoutSpecifier4 is Contract1, Contract2, Contract3, Contract4, Contract5 layout at 123{
25+ }
26+
27+ contract StorageLayoutSpecifier5 is Contract1, Contract2, Contract3, Contract4, Contract5 layout at 1234567890 * 1234567890 - 1234567890 / 1234567890{
28+ }
29+
30+ contract StorageLayoutSpecifier6 is Contract1, Contract2, Contract3, Contract4, Contract5 layout at veryVeryLongFunction(12345678901234567890 * 12345678901234567890 - 12345678901234567890 / 12345678901234567890 + 12345678901234567890 - 12345678901234567890){
31+ }
32+
33+ contract StorageLayoutSpecifier7 is Contract1, Contract2, Contract3, Contract4, Contract5, Contract6, Contract7 layout at 123{
34+ }
35+
36+ contract StorageLayoutSpecifier8 is Contract1, Contract2, Contract3, Contract4, Contract5, Contract6, Contract7 layout at 1234567890 * 1234567890 - 1234567890 / 1234567890{
37+ }
38+
39+ contract StorageLayoutSpecifier9 is Contract1, Contract2, Contract3, Contract4, Contract5, Contract6, Contract7 layout at veryVeryLongFunction(12345678901234567890 * 12345678901234567890 - 12345678901234567890 / 12345678901234567890 + 12345678901234567890 - 12345678901234567890){
40+ }
41+
42+ contract InheritanceSpecifier1 is SomeOtherContract(1234,false) { }
43+
44+ contract InheritanceSpecifier2 is SomeOtherContract(1234,false) layout at 123 { }
45+
46+ contract InheritanceSpecifier3 is SomeOtherContract(1234,false) layout at 1234567890 * 1234567890 - 1234567890 / 1234567890 { }
47+
48+ contract InheritanceSpecifier4 is SomeOtherContract(1234,false) layout at veryVeryLongFunction(12345678901234567890 * 12345678901234567890 - 12345678901234567890 / 12345678901234567890 + 12345678901234567890 - 12345678901234567890) { }
49+
50+ contract LongInheritanceSpecifier1 is SomeOtherContract(123467890,false,0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c) { }
51+
52+ contract LongInheritanceSpecifier2 is SomeOtherContract(123467890,false,0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c) layout at 123 { }
53+
54+ contract LongInheritanceSpecifier3 is SomeOtherContract(123467890,false,0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c) layout at 1234567890 * 1234567890 - 1234567890 / 1234567890 { }
55+
56+ contract LongInheritanceSpecifier4 is SomeOtherContract(123467890,false,0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c) layout at veryVeryLongFunction(12345678901234567890 * 12345678901234567890 - 12345678901234567890 / 12345678901234567890 + 12345678901234567890 - 12345678901234567890){ }
57+
1258=====================================output=====================================
1359contract ContractDefinition is
1460 Contract1,
@@ -18,5 +64,166 @@ contract ContractDefinition is
1864 Contract5
1965{ }
2066
67+ contract StorageLayoutSpecifier layout at 123 { }
68+
69+ contract StorageLayoutSpecifier1 layout at
70+ 1234567890 * 1234567890 - 1234567890 / 1234567890
71+ { }
72+
73+ contract StorageLayoutSpecifier2 layout at
74+ veryVeryLongFunction(
75+ 12345678901234567890 *
76+ 12345678901234567890 -
77+ 12345678901234567890 /
78+ 12345678901234567890 +
79+ 12345678901234567890 -
80+ 12345678901234567890
81+ )
82+ { }
83+
84+ contract StorageLayoutSpecifier3 is Contract1 layout at 123 { }
85+
86+ contract StorageLayoutSpecifier4
87+ is Contract1, Contract2, Contract3, Contract4, Contract5
88+ layout at 123
89+ { }
90+
91+ contract StorageLayoutSpecifier5
92+ is Contract1, Contract2, Contract3, Contract4, Contract5
93+ layout at 1234567890 * 1234567890 - 1234567890 / 1234567890
94+ { }
95+
96+ contract StorageLayoutSpecifier6
97+ is Contract1, Contract2, Contract3, Contract4, Contract5
98+ layout at
99+ veryVeryLongFunction(
100+ 12345678901234567890 *
101+ 12345678901234567890 -
102+ 12345678901234567890 /
103+ 12345678901234567890 +
104+ 12345678901234567890 -
105+ 12345678901234567890
106+ )
107+
108+ { }
109+
110+ contract StorageLayoutSpecifier7
111+ is
112+ Contract1,
113+ Contract2,
114+ Contract3,
115+ Contract4,
116+ Contract5,
117+ Contract6,
118+ Contract7
119+ layout at 123
120+ { }
121+
122+ contract StorageLayoutSpecifier8
123+ is
124+ Contract1,
125+ Contract2,
126+ Contract3,
127+ Contract4,
128+ Contract5,
129+ Contract6,
130+ Contract7
131+ layout at 1234567890 * 1234567890 - 1234567890 / 1234567890
132+ { }
133+
134+ contract StorageLayoutSpecifier9
135+ is
136+ Contract1,
137+ Contract2,
138+ Contract3,
139+ Contract4,
140+ Contract5,
141+ Contract6,
142+ Contract7
143+ layout at
144+ veryVeryLongFunction(
145+ 12345678901234567890 *
146+ 12345678901234567890 -
147+ 12345678901234567890 /
148+ 12345678901234567890 +
149+ 12345678901234567890 -
150+ 12345678901234567890
151+ )
152+
153+ { }
154+
155+ contract InheritanceSpecifier1 is SomeOtherContract(1234, false) { }
156+
157+ contract InheritanceSpecifier2
158+ is SomeOtherContract(1234, false)
159+ layout at 123
160+ { }
161+
162+ contract InheritanceSpecifier3
163+ is SomeOtherContract(1234, false)
164+ layout at 1234567890 * 1234567890 - 1234567890 / 1234567890
165+ { }
166+
167+ contract InheritanceSpecifier4
168+ is SomeOtherContract(1234, false)
169+ layout at
170+ veryVeryLongFunction(
171+ 12345678901234567890 *
172+ 12345678901234567890 -
173+ 12345678901234567890 /
174+ 12345678901234567890 +
175+ 12345678901234567890 -
176+ 12345678901234567890
177+ )
178+
179+ { }
180+
181+ contract LongInheritanceSpecifier1 is
182+ SomeOtherContract(
183+ 123467890,
184+ false,
185+ 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c
186+ )
187+ { }
188+
189+ contract LongInheritanceSpecifier2
190+ is
191+ SomeOtherContract(
192+ 123467890,
193+ false,
194+ 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c
195+ )
196+ layout at 123
197+ { }
198+
199+ contract LongInheritanceSpecifier3
200+ is
201+ SomeOtherContract(
202+ 123467890,
203+ false,
204+ 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c
205+ )
206+ layout at 1234567890 * 1234567890 - 1234567890 / 1234567890
207+ { }
208+
209+ contract LongInheritanceSpecifier4
210+ is
211+ SomeOtherContract(
212+ 123467890,
213+ false,
214+ 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c
215+ )
216+ layout at
217+ veryVeryLongFunction(
218+ 12345678901234567890 *
219+ 12345678901234567890 -
220+ 12345678901234567890 /
221+ 12345678901234567890 +
222+ 12345678901234567890 -
223+ 12345678901234567890
224+ )
225+
226+ { }
227+
21228================================================================================
22229` ;
0 commit comments