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

Automatic type based dropdown does not include singleton in a union type #6629

Conversation

4e6
Copy link
Contributor

@4e6 4e6 commented May 10, 2023

Pull Request Description

close #6532

Set tag values to display Auto type in dropdowns correctly.

Important Notes

2023-05-10-141458_969x566_scrot
2023-05-10-141513_991x232_scrot

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.

@4e6 4e6 added the CI: No changelog needed Do not require a changelog entry for this PR. label May 10, 2023
@4e6 4e6 requested a review from JaroslavTulach as a code owner May 10, 2023 11:18
@4e6 4e6 self-assigned this May 10, 2023
@4e6 4e6 requested review from hubertp and Akirathan as code owners May 10, 2023 11:18
case 0 =>
val isBuiltinTypeWithValues =
tp.tp.builtinType &&
Option(compiler.builtins.getBuiltinType(tp.tp.name))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd add compiler.builtins.isBuiltinTypeWithValues(tp.tp.name).

@4e6 4e6 added the CI: Ready to merge This PR is eligible for automatic merge label May 10, 2023
@mergify mergify bot merged commit 3dd05c2 into develop May 10, 2023
@mergify mergify bot deleted the wip/db/6532-automatic-type-based-dropdown-does-not-include-singleton-in-a-union-type branch May 10, 2023 16:55
Procrat added a commit that referenced this pull request May 11, 2023
…ing-6287

* develop:
  Fix shortcuts table formatting (#6644)
  Automatic type based dropdown does not include singleton in a union type (#6629)
  Make Meta.get_annotation work for constructor (#6633)
  Limit the number of reported warnings (#6577)
  Add COOP+COEP+CORP headers (#6597)
Procrat added a commit that referenced this pull request May 12, 2023
* develop:
  Implement loading spinner for visualisations. (#6512)
  Fix blank input port (#6614)
  Add `Date_Range` (#6621)
  All Vector operations shall be applicable on java.util.ArrayList (#6642)
  Fix redirect paths and enable authentication and new dashboard by default (#6605)
  Fix #6287: wrong nested breadcrumb ordering (#6617)
  Whitelist AWS Cognito domains (#6643)
  Revert "Add COOP+COEP+CORP headers (#6597)" (#6647)
  Fix shortcuts table formatting (#6644)
  Automatic type based dropdown does not include singleton in a union type (#6629)
  Make Meta.get_annotation work for constructor (#6633)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatic type based dropdown does not include singleton in a union type
2 participants