aiken/crates/aiken-lang
KtorZ c88cbd8f28
rework trace label evaluation strategy
Namely:

  1. Fully evaluate & type-check the label, irrespective of the trace level. So that labels using other variables do not generate "unused identifier" warnings when compiling with different trace mode (and so that the success of a build doesn't depend on the trace level).

     This was already done for trace arguments, but not for labels, somehow.

  2. Move the requirement for compact trace label being String from errors down to warnings; following point (1), we shouldn't fail compilation for different trace levels. It seems more reasonable to simply raise a warning.

Signed-off-by: KtorZ <matthias.benkort@gmail.com>
2025-03-18 13:47:26 +01:00
..
src rework trace label evaluation strategy 2025-03-18 13:47:26 +01:00
Cargo.toml hide internal functions from suggested hints on unknown modules/constructor/value. 2025-03-15 21:52:45 +01:00
build.rs Adjust module organization to facilitate resurrection of the playground. 2024-08-29 09:12:37 +02:00