Parent PRD
#140
What to build
Switch Parameter.typ from str to Type. Convert at boundaries: parse incoming source/JSON to Type on construction; format back to str wherever consumers still need strings. All other string-typed slots remain unchanged.
Touch sites: compiler/common.casa (Parameter, make_param, make_named_param), every consumer of Parameter.typ across compiler/typechecker.casa, compiler/syntax.casa, compiler/bytecode.casa, compiler/error.casa, compiler/pattern.casa.
Acceptance criteria
Blocked by
User stories addressed
Migration step 2 in parent PRD: smallest slot first to validate boundary pattern.
Parent PRD
#140
What to build
Switch
Parameter.typfromstrtoType. Convert at boundaries: parse incoming source/JSON toTypeon construction; format back tostrwherever consumers still need strings. All other string-typed slots remain unchanged.Touch sites:
compiler/common.casa(Parameter,make_param,make_named_param), every consumer ofParameter.typacrosscompiler/typechecker.casa,compiler/syntax.casa,compiler/bytecode.casa,compiler/error.casa,compiler/pattern.casa.Acceptance criteria
Parameter.typ: TypeType.formatat string boundariestests/test_examples.sh+tests/test_compiler.sh(run< /dev/nullfor headless lsp)Blocked by
User stories addressed
Migration step 2 in parent PRD: smallest slot first to validate boundary pattern.