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

⚡ Feature: Helper methods for entity accessing #47

Open
wants to merge 9 commits into
base: vardec_varass_dependency
Choose a base branch
from

Conversation

deavmi
Copy link
Contributor

@deavmi deavmi commented May 11, 2024

Please see this.

- Added initial version of the exceptionm AND error builder

Resolver

- Added `resolveWithin_Safe(Container currentContainer, string name)` which throws on an error
- Added new test cases for resolution stuff

Compiler

- Added more test cases

Pipelines

- Added more test cases
@deavmi deavmi added documentation Improvements or additions to documentation enhancement New feature or request labels May 11, 2024
@deavmi deavmi self-assigned this May 11, 2024
- Added `resolveBest_Safe(...)`

ResolutionError

- Added new type
- Typo fix
- Typo fix
- When resolving a `FunctionCall`'s `Function` use the safe resolver
- When resolving a `VariableExpression`'s `Variable` use the safe resolver
- When resolving the `VariableAssignmentStdAlone`'s `Variable` use the safe resolver
- Cleaned up
- `resolveWithin_Safe()` now does expected types as well

Resolver (unittests)

- Added testing for the safe resolution methods
- Added more unittests to cover last set of erroneous cases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant