Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crossing borders #227

Open
1 of 7 tasks
Sainan opened this issue Apr 7, 2023 · 0 comments
Open
1 of 7 tasks

Crossing borders #227

Sainan opened this issue Apr 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Sainan
Copy link
Member

Sainan commented Apr 7, 2023

Right now, require is an impasse for the parser, so we can't have type hints, suggestions, named arguments, etc. across this border.

I have a POC for going across require on the crossing-borders branch, although that made me realise we need to first support these features for non-locals...

  • Support suggestions for table properties
  • Support type hints for static table functions
  • Support named arguments for static table functions
  • Support suggestions for (visible) global variables
  • Support type mismatch warnings for (visible) global variables (Add initial type propagation for global variables #355)
  • Support named arguments for (visible) global variables
  • pluto_definitions (or similar) statement to allow external global variables to use these features
@Sainan Sainan added the enhancement New feature or request label Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant