Closed bozaro closed 1 week ago
Also this issue is reproducable with kclvm_cli
executable built from actual main
branch code (https://github.com/kcl-lang/kcl/commit/dadfd041bfee13a9e461bf40b44f387947d0de1a):
[10:19:38] ➜ script /home/bozaro/github/kcl/_build/dist/ubuntu/kclvm/bin/kclvm_cli version
Version: 0.9.0-0c20ab3eb4b9179219d6837a57f5d352
Platform: x86_64-unknown-linux-gnu
GitCommit: dadfd041bfee13a9e461bf40b44f387947d0de1a
[10:19:52] ➜ script KCL_FAST_EVAL=1 /home/bozaro/github/kcl/_build/dist/ubuntu/kclvm/bin/kclvm_cli run example
error[E3M38]: EvaluationError
--> /home/bozaro/xxx/kcl-fast-eval/script/example/main.k:5:1
|
5 | bar: {host: "bar.example.net", port: 80}
| expect {str:types.HostPort}, got dict
|
Bug Report
1. Minimal reproduce step (Required)
Run shell script:
2. What did you expect to see? (Required)
kcl run example/
andKCL_FAST_EVAL=1 kcl run example/
got same output like:3. What did you see instead (Required)
4. What is your KCL components version? (Required)