Skip to content

Commit 0ef9cf8

Browse files
ehildenbrv-auditor
andauthored
Remove redundant rule for thunking #compute (#594)
We currently have two rules that `thunk` a `#compute` that is unevaluated: - The generic rule that `thunk`s all unfinished `Evaluation`, and - The specific rule for `thunk`ing a `#compute`. This removes the later. --------- Co-authored-by: devops <[email protected]>
1 parent e4085f5 commit 0ef9cf8

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

kmir/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "kmir"
7-
version = "0.3.171"
7+
version = "0.3.172"
88
description = ""
99
requires-python = "~=3.10"
1010
dependencies = [

kmir/src/kmir/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from typing import Final
22

3-
VERSION: Final = '0.3.171'
3+
VERSION: Final = '0.3.172'

kmir/src/kmir/kdist/mir-semantics/rt/data.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -899,8 +899,6 @@ For binary operations generally, both arguments have to be read from the provide
899899
```k
900900
syntax Evaluation ::= #compute ( BinOp, Evaluation, Evaluation, Bool) [seqstrict(2,3)]
901901
902-
rule <k> #compute(BOP, E1, E2, MUT) => typedValue(thunk(#compute(BOP, E1, E2, MUT)), TyUnknown, mutabilityNot) ... </k> [priority(190)]
903-
904902
rule <k> rvalueBinaryOp(BINOP, OP1, OP2) => #compute(BINOP, OP1, OP2, false) ... </k>
905903
906904
rule <k> rvalueCheckedBinaryOp(BINOP, OP1, OP2) => #compute(BINOP, OP1, OP2, true) ... </k>

kmir/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.171
1+
0.3.172

0 commit comments

Comments
 (0)