Skip to content

Conversation

@ThakeeNathees
Copy link
Collaborator

This PR adds a test case to verify that property decorator return type inference works correctly in the type checker.

Changes:

  • Added test_property() to verify property decorator return type inference
  • Created checker_property.jac fixture with property access test case
  • Updated type-system-agent.md with correct fixture locations and common pitfalls documentation
  • Implemented property decorator detection in type_evaluator.jac to return property return type instead of FunctionType

Testing:

  • pytest -k test_property -v passes
  • Pre-commit checks pass

- Add test_property() to verify property decorator return type inference
- Create checker_property.jac fixture with property access test case
- Update type-system-agent.md with correct fixture locations and common pitfalls
- Implement property decorator detection in type_evaluator.jac to return property return type instead of FunctionType
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant