diff options
author | Rustan Leino <unknown> | 2014-02-23 17:27:26 -0800 |
---|---|---|
committer | Rustan Leino <unknown> | 2014-02-23 17:27:26 -0800 |
commit | d47400c8a1ba72497cc145173aa6ad9f6b1b5a85 (patch) | |
tree | e7c26059931e9f4c9700de8167e5b3f6269ea07b /Source/DafnyExtension/OutliningTagger.cs | |
parent | 79610237eba7902e8be127fa54f2572a2c01f6b7 (diff) |
Deprecated "comethod" keyword in favor of "colemma". (Also, "prefix method" -> "prefix lemma")
Diffstat (limited to 'Source/DafnyExtension/OutliningTagger.cs')
-rw-r--r-- | Source/DafnyExtension/OutliningTagger.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/DafnyExtension/OutliningTagger.cs b/Source/DafnyExtension/OutliningTagger.cs index d643da5d..7c786d7e 100644 --- a/Source/DafnyExtension/OutliningTagger.cs +++ b/Source/DafnyExtension/OutliningTagger.cs @@ -171,11 +171,11 @@ namespace DafnyLanguage } else if (m is Dafny.Method && ((Dafny.Method)m).Body != null) {
var nm =
m is Dafny.Constructor ? "constructor" :
- m is Dafny.CoMethod ? "comethod" :
+ m is Dafny.CoLemma ? "colemma" :
m is Dafny.Lemma ? "lemma" :
- // m is Dafny.PrefixMethod ? "prefix method" : // this won't ever occur here
+ // m is Dafny.PrefixLemma ? "prefix lemma" : // this won't ever occur here
"method";
- if (m.IsGhost && !(m is Dafny.CoMethod)) {
+ if (m.IsGhost && !(m is Dafny.CoLemma)) {
nm = "ghost " + nm;
}
newRegions.Add(new OutliningRegion(m, nm));
|