You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This requires adding var position: AbsolutePosition { get } property to the Statement protocol. AbsolutePosition is defined in the SwiftSyntax module. enum Expr should no longer conform to Statement, but should be wrapped as a property of struct ExprNode: Statement, which would allow attaching position to expressions. Other types conforming to Statement will require adding let position: AbsolutePosition stored property to them.
The text was updated successfully, but these errors were encountered:
This requires adding
var position: AbsolutePosition { get }
property to theStatement
protocol.AbsolutePosition
is defined in theSwiftSyntax
module.enum Expr
should no longer conform toStatement
, but should be wrapped as a property ofstruct ExprNode: Statement
, which would allow attaching position to expressions. Other types conforming toStatement
will require addinglet position: AbsolutePosition
stored property to them.The text was updated successfully, but these errors were encountered: