Avatar for the Quantinuum user
Quantinuum
guppylang
BlogDocsChangelog

feat!: Implement error handling for modified variables outside modifiers

#1712
Comparing
na/1700-raise-an-error-when-variables-are-used-outside-a-modifier-block
(
61d3472
) with
main
(
82b9c77
)
CodSpeed Performance Gauge
0%
Untouched
9

Benchmarks

9 total
test_big_array_check
tests/benchmarks/test_big_array.py
CodSpeed Performance Gauge
0%
3.1 s3.1 s
test_big_array_compile
tests/benchmarks/test_big_array.py
CodSpeed Performance Gauge
0%
6.3 s6.3 s
test_queue_push_benchmark
tests/benchmarks/test_queue_push_pop.py
CodSpeed Performance Gauge
0%
554.2 ms554.7 ms
test_queue_push_benchmark_compile
tests/benchmarks/test_queue_push_pop.py
CodSpeed Performance Gauge
0%
401.5 ms401.9 ms
test_many_ctrl_flow_compile
tests/benchmarks/test_ctrl_flow.py
CodSpeed Performance Gauge
0%
792.1 ms793.1 ms
test_queue_push_pop_benchmark
tests/benchmarks/test_queue_push_pop.py
CodSpeed Performance Gauge
0%
758.1 ms759.2 ms
test_import_guppy
tests/benchmarks/test_prelude.py
CodSpeed Performance Gauge
0%
265.6 µs266 µs
test_queue_push_pop_benchmark_compile
tests/benchmarks/test_queue_push_pop.py
CodSpeed Performance Gauge
0%
548.9 ms550 ms
test_many_ctrl_flow_check
tests/benchmarks/test_ctrl_flow.py
CodSpeed Performance Gauge
0%
324.6 ms325.6 ms

Commits

Click on a commit to change the comparison range
Base
main
82b9c77
+0.2%
fix: correct error messages for variable modifications in modifier blocks
e98f002
24 days ago
by nicolaassolini-qntm
+0.06%
feat: add error handling for variable usage outside modifier blocks
e3ccd0d
21 days ago
by nicolaassolini-qntm
-0.05%
chore: remove AGENTS.md from .gitignore
3bee804
21 days ago
by nicolaassolini-qntm
+0.06%
refactor: remove unused cfg_as_string method from CFG class
675e968
21 days ago
by nicolaassolini-qntm
+0.07%
suggestions
a5e0746
21 days ago
by nicolaassolini-qntm
-0.22%
TODO
b5bb542
11 days ago
by nicolaassolini-qntm
0%
refactor: remove modified variable error handling from linearity checker
ae92840
10 days ago
by nicolaassolini-qntm
-0.02%
refactor: clean up unused variable handling in CheckedModifiedBlock
c059973
10 days ago
by nicolaassolini-qntm
+0.16%
refactor: update error messages for variable assignments in modifier blocks
230c776
10 days ago
by nicolaassolini-qntm
-0.41%
fix: typo in error message for variable scope in modifier blocks
8f85e4a
6 days ago
by nicolaassolini-qntm
0%
refactor: rename last_assigned_in_modifier_block to assigned_in_modifier_block for clarity
deaa5bd
6 days ago
by nicolaassolini-qntm
+0.04%
refactor: rename last_assigned_in_mod to assigned_in_mod for consistency
61d3472
6 days ago
by nicolaassolini-qntm
© 2026 CodSpeed Technology
Home Terms Privacy Docs