@@ -197,7 +197,8 @@ class Element extends ElementBase {
197197 initialisers ( underlyingElement ( this ) , unresolveElement ( result ) , _, _) or
198198 exprconv ( unresolveElement ( result ) , underlyingElement ( this ) ) or
199199 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 ) )
201202 }
202203
203204 /** Gets the closest `Element` enclosing this one. */
@@ -278,12 +279,12 @@ class StaticAssert extends Locatable, @static_assert {
278279 /**
279280 * Gets the expression which this static assertion ensures is true.
280281 */
281- Expr getCondition ( ) { static_asserts ( underlyingElement ( this ) , unresolveElement ( result ) , _, _) }
282+ Expr getCondition ( ) { static_asserts ( underlyingElement ( this ) , unresolveElement ( result ) , _, _, _ ) }
282283
283284 /**
284285 * Gets the message which will be reported by the compiler if this static assertion fails.
285286 */
286- string getMessage ( ) { static_asserts ( underlyingElement ( this ) , _, result , _) }
287+ string getMessage ( ) { static_asserts ( underlyingElement ( this ) , _, result , _, _ ) }
287288
288- override Location getLocation ( ) { static_asserts ( underlyingElement ( this ) , _, _, result ) }
289+ override Location getLocation ( ) { static_asserts ( underlyingElement ( this ) , _, _, result , _ ) }
289290}
0 commit comments