-
Notifications
You must be signed in to change notification settings - Fork 847
Open Type Declaration updates #9513
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
Conversation
|
I'll need to do some more updates due to nameof being merged. |
| let y = M() | ||
| """ | ||
| |> withOptions ["--langversion:preview"] |
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.
can now do withPreview :)
|
|
||
| [<Test>] | ||
| member this.``Attributes.CanSeeOpenNamespaces.Bug268290.Case2``() = | ||
| AssertCtrlSpaceCompleteContains |
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.
Hmm do you know why this test case was removed?
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 don't think I remember; I should try to enable it again.
|
This looks great and is ready to go in. During the spec/code review today we spotted a couple of things which can be addressed as bug fixes after this is integrated
|
|
@TIHan I made a note of a few other things you might like to check
|
|
@TIHan please resolve the xlf conflicts, thanks :-) |
|
For reference, here is the final bug we need to fix: #9914 |
Didn't know about this ability. I'll have to make a test case and see.
No tests on signature files. We should just in case. |
|
🎉 |
|
🌮 |
|
🐔 or 🐮 ? |
* Allow using nested types in unqualified scenarios * Renaming OpenStaticClasses to OpenTypeDeclaration * Added 'open type' declaration * Added more tests * Fixing build * Added tooling support * More updates * Some refactor * open static prototype * open static prototype * Fixes on merge * Fixing build * Fixing some tests * Trying to figure out nested * Added eUnqualifiedTyconTypeArgs * Properly opening generic types with nested generic types * Update test baseline * Include range on target * Fixing build * Fixing build * Fixing build * Error if not an appty * Slightly better error * Getting tests to pass * Trying to fix tests * Get current tests to pass * Partial working unused opens * Almost there * Some fixed * Reverting back to original service analysis * Fixed test * Fixed test * Fixed build * Fixing tests * Fixing tests * Fixing more tests * Removing broken tests * Added more tests. Checking for byrefs * More tests * More tests * Update tests * Rename * Better names * Added test case for inherited members * Added more tests with CSharp style extension members * Minor format * Minor updates * Fixing nested types * Fixed nested types possibly * Trying to fix it * Some cleanup * More cleanup * Partial * Partially working * Fixed nested types * Fixing tests * Removed NumStaticArgs * Rename AddEntties/OpenEntities to AddModuleOrNamespaceRefs/OpenModuleOrNamespaceRefs * minor cleanup * Minor rename * Another rename * Update src/fsharp/symbols/Symbols.fs Co-authored-by: Phillip Carter <pcarter@fastmail.com> * Trying to add type provider test * Remove type provider test for now * Starting to convert tests * More tests converted * More tests converted * more tests converted * Added type provider tests * Added complex generic types with nested generic types * Added units of measure tests and named types * Added more tests * Added two more tests * Added one more test * Added enum test case * Added enum tests and support * Adding union case support * Removing unions support * Fixing build * Disallowing operators to come into scope * Minor refactoring * Access to record labels and union cases * Fixing opening generic types * Do not need to return enclosing type instantiations from a dot * Added generic union and record tests * Combining intrinsic and extension method groups. Ignoring generic record/union tests. * Update FSComp.txt.ja.xlf * Fixing build * Update OpenTypeDeclarationTests.fs Co-authored-by: Don Syme <dsyme@microsoft.com> Co-authored-by: Phillip Carter <pcarter@fastmail.com>
open typeon nominal typesopen typeon types with generic parameterizationdot.open type