You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenarios where type checker fails to catch: RecordNotFoundMatchingRecord
component Test {
property data = { name = "" }
fun render {
<{ data.name }>
}
}
component Main {
state data = { name = "" }
fun render {
<>
<{ data.name }>
<Test />
</>
}
}
This code compiles with no errors, but nothing appears in the page:
In the browser's console, I get:
Uncaught SyntaxError: Unexpected token '}'
Sandbox: https://sandbox.mint-lang.com/sandboxes/COuXNoNlhiAxcQ
The text was updated successfully, but these errors were encountered: