-
Notifications
You must be signed in to change notification settings - Fork 830
[RFC FS-1003] Nameof operator redux #6809
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
132 commits
Select commit
Hold shift + click to select a range
d380a0e
substitute 'nameof(<long ident>)` with `Conts(<long ident as string l…
223d313
Implementing basic nameof and typenameof operators
529cc6f
Apply feedback
f3c4ba5
Revert "Apply feedback"
8fd0392
Revert "Implementing basic nameof and typenameof operators"
77c8f77
revert nameof and typenameof functions to FSharp.Core
vasily-kirichenko 3070c1d
wip
vasily-kirichenko b3e712d
it works
vasily-kirichenko 6c6e3b5
Merge remote-tracking branch 'origin/master' into nameof-operator
7832be5
refactoring
6581790
make it work on simple `Ident`s
0f5165f
use proper error message
22898ad
restrict using `nameof` operator as first class
e5033af
remove `typenameof` bits
1ad0a0e
nameof(typeof<_>) works
c9a64b2
Merge branch 'master' into nameof-operator
vasily-kirichenko 5657759
fix QA tests
vasily-kirichenko b26994c
Merge branch 'master' into nameof-operator
vasily-kirichenko a732de0
remove nameof function form FSharp.Core
vasily-kirichenko b29fe57
Merge remote-tracking branch 'origin/master' into nameof-operator
vasily-kirichenko b7763a6
Revert "remove nameof function form FSharp.Core"
vasily-kirichenko 906a934
Try to resolve the `nameof` operator argument to prevent passing anyt…
vasily-kirichenko a770e3c
nameof works on generic types
vasily-kirichenko 067955a
fix error range in case of wrong `nameof`operator argument
vasily-kirichenko bfcc390
notify name resolution sink about nameof operator argument Item in or…
vasily-kirichenko 6a92a80
fully type check `nameof` argument
vasily-kirichenko bcec600
try to type check arg again
vasily-kirichenko f64b3c5
Merge remote-tracking branch 'origin/master' into nameof-operator
0c1cad2
type check `nameof` argument more carefully
vasily-kirichenko 15bf862
Merge remote-tracking branch 'vasily-kirichenko/nameof-operator' into…
vasily-kirichenko 5b72f32
Merge remote-tracking branch 'origin/master' into nameof-operator
vasily-kirichenko ceb7731
Merge branch 'master' into nameof-operator
vasily-kirichenko 588de2e
factor tcExpr to top level function
vasily-kirichenko f2ae00f
Merge remote-tracking branch 'origin/master' into nameof-operator
vasily-kirichenko d1b1389
add diagnostics
dsyme 0f89711
add diagnostics
dsyme 7da6aff
diagnostics
dsyme 871489b
diagnostics
dsyme 27d00a0
diagnostics
dsyme 7d98d16
add diagnostics and possible fix for tp smoke tests
dsyme cc6e992
fix build
dsyme e13b385
fix build
dsyme ce0961e
more diagnostics
dsyme 2bb15ce
integrate master
dsyme 8b0d33b
merge with master
dsyme b1bf49d
update xlf
dsyme ad61659
fix build
dsyme 90b46fb
revamp implementation for types and modules
dsyme 21b4705
update tests
dsyme 51e2012
try to fix flaky test
dsyme d482527
fix error numbers
dsyme 26e05dd
fix build
dsyme 8a7f046
update build from source
dsyme 20bf0c5
Merge branch 'diag4' into nameof
dsyme 93ccbbe
update error codes, FSComp.fs and XLF
dsyme 4b91598
fix test
dsyme 1f8f90c
integrate master
dsyme bf4b336
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme 8303215
Merge branch 'master' of http://github.com/Microsoft/visualfsharp int…
dsyme 23d7a64
merge master
dsyme 98a29ff
merge master
dsyme 6e7e3c4
us proto build on mac and linux
dsyme 21b46ca
us proto build on mac and linux
dsyme 39ec26a
build right proto on unix
dsyme 4b51197
build right proto on unix
dsyme 8a91110
Merge branch 'proto' into nameof
dsyme 7cc99ca
fix build to really use proto
dsyme 48f30d3
Merge branch 'proto' into nameof
dsyme c15c030
fix build
dsyme 2715844
Merge branch 'proto' into nameof
dsyme 9d61ee7
update tfms for type providers
dsyme 55c0c2f
Merge branch 'proto' into nameof
dsyme 08d89c7
verbose build
dsyme dac0ac4
Merge branch 'proto' into nameof
dsyme a7a132c
Merge branch 'master' of http://github.com/Microsoft/visualfsharp int…
dsyme 088951b
try to fix build
dsyme 9c93ac1
don't rebuild proto
dsyme ddd0ac7
trim list
dsyme 67717f8
disable proto compiler for fslex/fsyacc
dsyme 2eb1528
fix build
dsyme 713b40f
add buildtools props file instead
dsyme feebc99
add missing file
dsyme 385c4d9
proto
dsyme 9b4ff93
proto
dsyme 40bb2de
simplify
dsyme 2f96a63
more
dsyme 266d695
more
dsyme 0f3ddeb
more
dsyme 7e7fbf0
proto
dsyme 6b20514
try revert
dsyme 8026ae4
Merge branch 'proto2' into nameof
dsyme bc129ba
Merge branch 'nameof' of https://github.com/dsyme/visualfsharp into n…
dsyme 28cdc00
proto
dsyme 4447207
try again
dsyme 6563fa3
try again
dsyme f1056d7
disable node reuse
dsyme 7f37ec8
Merge branch 'proto' into nameof
dsyme ea11aae
fix tests
dsyme 00b9852
Merge branch 'proto' into nameof
dsyme 3456f48
revert diagnostic
dsyme a74d30b
Merge branch 'proto' into nameof
dsyme b3209da
revert some changes
dsyme 57292eb
Merge branch 'proto' of https://github.com/dsyme/visualfsharp into proto
dsyme 4ea4705
revert some changes
dsyme a2df739
Merge branch 'proto' into nameof
dsyme 023a773
Merge branch 'nameof' of https://github.com/dsyme/visualfsharp into n…
dsyme 4f522a2
try again
dsyme a26b387
Merge branch 'proto' into nameof
dsyme 233105b
merge proto
dsyme 47179ce
fix merge
dsyme 2ff75be
Merge branch 'master' of http://github.com/Microsoft/visualfsharp int…
dsyme 06168fd
merge master
dsyme 2b045f5
Merge branch 'proto' into nameof
dsyme 05d9b0f
merge master
dsyme ed457e4
Merge pull request #6827 from dotnet/merges/master-to-feature/nameof
c82afaa
Merge pull request #6840 from dotnet/merges/master-to-feature/nameof
c6234d1
Merge pull request #6858 from dotnet/merges/master-to-feature/nameof
896a6e3
code review
dsyme ebd6350
Merge branch 'feature/nameof' of http://github.com/Microsoft/visualfs…
dsyme feeeaf4
Merge remote-tracking branch 'upstream/release/fsharp47' into feature…
KevinRansom b99db08
fix test
KevinRansom 6e23fd5
update surface area tests
KevinRansom d6e8fab
revert build
KevinRansom 37b638e
Build proto compiler
KevinRansom 664d124
Merge branch 'release/fsharp47' of http://github.com/Microsoft/visual…
dsyme 15a5f73
Merge branch 'release/fsharp47' of http://github.com/Microsoft/visual…
dsyme a3287ce
merge
KevinRansom 31bbe42
merge
KevinRansom 5200435
tweaks
KevinRansom 7c9bfe5
Merge branch 'release/fsharp47' into feature/nameof
KevinRansom e95cf67
restore
KevinRansom 77121fd
Merge branch 'release/fsharp47' into feature/nameof
dsyme 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
Empty file.
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like we could make this have
NoDynamicInvocationThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's not needed because the compiler knows of the special rules for this library identifier