summaryrefslogtreecommitdiff
path: root/Source/Dafny/Resolver.cs
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2013-12-20 11:11:05 -0800
committerGravatar Rustan Leino <unknown>2013-12-20 11:11:05 -0800
commit1d2ae01b786addc664f34e719421c81037ae0fe0 (patch)
tree31f331f8ccea5a4507c644f41a454cd5f14f8ca4 /Source/Dafny/Resolver.cs
parent14b738e4e40215ddb2442f2294caf7734e9bed07 (diff)
Changed the iterator class hover text back to the iterator name (which is consistent with everything else), not the "iterator" keyword
Diffstat (limited to 'Source/Dafny/Resolver.cs')
-rw-r--r--Source/Dafny/Resolver.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Dafny/Resolver.cs b/Source/Dafny/Resolver.cs
index be48e23a..b659811d 100644
--- a/Source/Dafny/Resolver.cs
+++ b/Source/Dafny/Resolver.cs
@@ -323,8 +323,7 @@ namespace Microsoft.Dafny
}
foreach (var module in prog.Modules) {
foreach (var iter in ModuleDefinition.AllIteratorDecls(module.TopLevelDecls)) {
- var tok = iter.IteratorKeywordTok;
- ReportAdditionalInformation(tok, Printer.IteratorClassToString(iter), tok.val.Length);
+ ReportAdditionalInformation(iter.tok, Printer.IteratorClassToString(iter), iter.Name.Length);
}
}
}