fix: program generate should only run after params and args are validated

This commit is contained in:
rvcas
2024-04-04 17:02:29 -04:00
committed by Lucas
parent cac119338d
commit 5cb1e23008
2 changed files with 100 additions and 55 deletions

View File

@@ -0,0 +1,24 @@
---
source: crates/aiken-project/src/blueprint/validator.rs
description: "Code:\n\nvalidator {\n fn generics(redeemer: a, ctx: Void) {\n True\n }\n}\n"
---
Schema {
error: Error {
context: FreeTypeVariable,
breadcrumbs: [
Var {
tipo: RefCell {
value: Generic {
id: 33,
},
},
alias: None,
},
],
},
location: 26..37,
source_code: NamedSource {
name: "",
source: "<redacted>",
,
}