Open
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Write the KCL code
schema Config:
conditions?: [Item] = [{name_typo: "kcl"}] # Missing the type error for the wrong attribute `name_typo`
schema Item:
name: str
c = Config {}
2. What did you expect to see? (Required)
The type error at compile time
3. What did you see instead (Required)
A runtime error
4. What is your KCL components version? (Required)
v0.10.7