We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
priority
1 parent 901b3bf commit 1ffb465Copy full SHA for 1ffb465
pyk/src/pyk/k2lean4/model.py
@@ -136,6 +136,8 @@ def __init__(
136
ident: str | DeclId | None = None,
137
modifiers: Modifiers | None = None,
138
):
139
+ if priority and priority < 0:
140
+ raise ValueError('Priority must be non-negative')
141
if not signature.ty:
142
# TODO refine type to avoid this check
143
raise ValueError('Missing type from signature')
0 commit comments