@@ -197,7 +197,8 @@ class Element extends ElementBase {
197
197
initialisers ( underlyingElement ( this ) , unresolveElement ( result ) , _, _) or
198
198
exprconv ( unresolveElement ( result ) , underlyingElement ( this ) ) or
199
199
param_decl_bind ( underlyingElement ( this ) , _, unresolveElement ( result ) ) or
200
- using_container ( unresolveElement ( result ) , underlyingElement ( this ) )
200
+ using_container ( unresolveElement ( result ) , underlyingElement ( this ) ) or
201
+ static_asserts ( unresolveElement ( this ) , _, _, _, underlyingElement ( result ) )
201
202
}
202
203
203
204
/** Gets the closest `Element` enclosing this one. */
@@ -278,12 +279,12 @@ class StaticAssert extends Locatable, @static_assert {
278
279
/**
279
280
* Gets the expression which this static assertion ensures is true.
280
281
*/
281
- Expr getCondition ( ) { static_asserts ( underlyingElement ( this ) , unresolveElement ( result ) , _, _) }
282
+ Expr getCondition ( ) { static_asserts ( underlyingElement ( this ) , unresolveElement ( result ) , _, _, _ ) }
282
283
283
284
/**
284
285
* Gets the message which will be reported by the compiler if this static assertion fails.
285
286
*/
286
- string getMessage ( ) { static_asserts ( underlyingElement ( this ) , _, result , _) }
287
+ string getMessage ( ) { static_asserts ( underlyingElement ( this ) , _, result , _, _ ) }
287
288
288
- override Location getLocation ( ) { static_asserts ( underlyingElement ( this ) , _, _, result ) }
289
+ override Location getLocation ( ) { static_asserts ( underlyingElement ( this ) , _, _, result , _ ) }
289
290
}
0 commit comments