-
Notifications
You must be signed in to change notification settings - Fork 6
Improvements to symbol resolutions #189
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
c80e21f
Report ambiguous overrides
JonatanWaern fbf2505
Refactor ReferenceMatches
JonatanWaern 5dbcfa4
Change debug level of some prints
JonatanWaern dc1c3ba
Rework symbol methodology for methods
JonatanWaern a0566de
Rework how fp-based symbol lookup works
JonatanWaern 1a0f5b5
Rework how abstract methods and template methods work
JonatanWaern ccee9d5
Clarify and ensure behavior of goto- operations
JonatanWaern 6ef965b
Refactor and move semantic lookup methods
JonatanWaern d9e67d5
Fixes to method lookups
JonatanWaern 70cfb4c
Allow references to carry extra information
JonatanWaern aa751bb
Fix goto-implementations on templates
JonatanWaern 45031dd
Fix goto-definition on abstract methods
JonatanWaern a9ae32a
Fix a debug print
JonatanWaern 2762dc1
Fix symbol binding around indirect method overrides
JonatanWaern 6b9fa2d
Fix inconsistencies in lookups
JonatanWaern 4f81075
Add explicit method decl provisional
JonatanWaern 81e8dd0
Correctly report missing templates in in-each
JonatanWaern 72afc4f
Allow reference-in-method to fall through default calls
JonatanWaern 5b87832
Only bind implementations between methods within the same object
JonatanWaern b0d2353
Bind implementations on object symbols to in-eachs that apply to them
JonatanWaern 96e9b8d
Fix bug in goto-decl on parameters
JonatanWaern 6985f56
Do not return abstract method declaration in goto-impl
JonatanWaern e8bac52
Use .identity() to index defined_methods consistently
JonatanWaern ccbd3a8
Optimize lookup_symbols slightly
JonatanWaern 0802651
Remove redundant symbol iteration
JonatanWaern b280ba5
Typo fixes
JonatanWaern e3be048
Fix bug in get_bases
JonatanWaern b64de9e
Allow late-shared default calls
JonatanWaern 9667708
Don't panic on declaration-only methods
JonatanWaern fc1ef16
Do not warn about double-generating methods
JonatanWaern 41881b4
Verify and preserve implementation variant on abstract methods
JonatanWaern c3e82ad
Slightly improve missing template message
JonatanWaern 555a7b9
Remove unnecessary import
JonatanWaern 095be61
Remove unused function
JonatanWaern 7956223
Only use context-chain to find the target object
JonatanWaern b6b690a
Remove lingering TODO
JonatanWaern File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,20 @@ | |
| or footers | ||
| - The DLS will no longer fail to parse files with unicode characters in cblock | ||
| header or footers, or in multiline comments | ||
| - The DLS will now report when an ambiguous default call is made | ||
| - Improvements and clarifications to connections between symbols and references, | ||
| for details, see [USAGE.md](USAGE.md). | ||
| -- Method declared in unrelated templates in an allowed way will now have their | ||
| references correctly resolved. | ||
| -- Goto-reference on default calls will now go to the methods that may be called. | ||
| -- Goto-implementations on templates will now go to all places where they are | ||
| instantiated. | ||
| -- Goto-implementations on objects will now go to all the 'in each' declarations | ||
| which apply to that object. | ||
| - Added parser support for provisional 'explicit\_method\_decls' | ||
| - The DLS will now correctly report missing template names in 'in each' constructs | ||
| - Fixed error where the DLS would fail to match references from within in a template | ||
| to symbols defined in parents of objects instantiating the template | ||
|
|
||
| ## 0.9.17 | ||
| - Fixed linter wrongly throwing an error on space after `defined` keyword | ||
|
|
@@ -21,7 +35,7 @@ | |
|
|
||
| ## 0.9.15 | ||
| - Added support for line length and breaking rules regarding line-breaks after opening parentheses, method output arguments, conditional expressions and binary operands. | ||
| - Added support for indendation rule indent_continuation_line. | ||
| - Added support for indendation rule indent\_continuation\_line. | ||
JonatanWaern marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - Optimizations in how the server resolves file paths, should reduce | ||
| time-to-ready for the server when first starting by about 50%, depending | ||
| on the complexity of the include tree. | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.