summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/Dafny/DafnyAst.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Dafny/DafnyAst.cs b/Source/Dafny/DafnyAst.cs
index 21f5fadd..8d68e3e2 100644
--- a/Source/Dafny/DafnyAst.cs
+++ b/Source/Dafny/DafnyAst.cs
@@ -4807,6 +4807,8 @@ namespace Microsoft.Dafny {
{
get {
foreach (var e in base.SubExpressions) { yield return e; }
+ foreach (var e in Attributes.SubExpressions(Attributes)) { yield return e; }
+
foreach (var l in Lines) {
yield return l;
}