Mirror icon indicating copy to clipboard operation
Mirror copied to clipboard

Types are not enforced

Open AZHenley opened this issue 1 year ago • 0 comments

The types from the function signature are helpful for the LLM to generate code, but we do not enforce them for the function expressions. This should be done after/during parsing (before the LLM call).

signature foo(x: int) -> string
...
foo(foo(5))

This should give an error.

AZHenley avatar Nov 17 '24 18:11 AZHenley