We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86d112d commit 6af7d16Copy full SHA for 6af7d16
Source/Concurrency/LinearTypeChecker.cs
@@ -1,4 +1,5 @@
1
using System.Collections.Generic;
2
+using System.Diagnostics;
3
using System.Linq;
4
5
namespace Microsoft.Boogie
@@ -699,6 +700,7 @@ public override Variable VisitVariable(Variable node)
699
700
701
public static LinearKind FindLinearKind(Variable v)
702
{
703
+ Debug.Assert(v is GlobalVariable || v is Formal);
704
if (QKeyValue.FindAttribute(v.Attributes, x => x.Key == CivlAttributes.LINEAR) != null)
705
706
return LinearKind.LINEAR;
0 commit comments