This repository was archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 173
Name mangling for imported internal declarations (before symbol resolution) #360
Closed
Closed
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
260bbaf
Re-enable duplicate reference declarations test
bec4ad8
Add RenameReferences transformation
efb9a4c
Add methods for renaming declaration headers
2264e50
Rename internal declarations when references are loaded
2b07241
Start adding unit tests for internal renaming
7580d91
Add test for renaming internal type
2931e00
Improve framework for internal renaming tests
1113c1e
Add more tests
89b3f6d
Use spaces instead of tabs in InternalRenaming.qs
7397ae5
Fix renaming internal attributes
defcf50
Add shorthand for qualified names in tests
82da87d
All tests pass (#358)
bettinaheim 7226cb9
Include type constructors in count
dc2876f
Small code cleanup
167d935
Add comment about ".qs" extension required in tests
f337e4e
Rename internals such that the name is always unique
9ff8786
Add TODO about alternative to name mangling
0997c6b
Use simpler name mangling
345a416
Use lambda instead of let
45a65ff
Add test for renaming internal specializations
2f2e7b3
Replace tabs with spaces...
2551459
Use a private state class in RenameReferences
4b5275d
Merge remote-tracking branch 'origin/features/access-modifiers' into …
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
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
6 changes: 2 additions & 4 deletions
6
src/QsCompiler/TestTargets/Libraries/Library1/AccessModifiers.qs
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.