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

A strawman for aggregate literals #21993

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Commits on Nov 25, 2024

  1. A strawman for aggregate literals

    A test case that shows that we can have an "inline type class" that allows
    to use a typeclass-based scheme for sequence literals where instances can
    be created with macros.
    odersky committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    cb27cb5 View commit details
    Browse the repository at this point in the history
  2. Prototype InlineConversion as well.

    Also: Move test to run
    odersky committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    cd4ecf5 View commit details
    Browse the repository at this point in the history
  3. Add assert to typedSeqLiteral

    odersky committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    7138b8d View commit details
    Browse the repository at this point in the history
  4. Implement collection literals

    odersky committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    8252149 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    93a1a78 View commit details
    Browse the repository at this point in the history
  6. Use a different scheme for deciding when to use the default

    We now don't try to instantiate selected type variables. Instead, we use a default as fallback if
    the expected type is underspecified according to the definition in Implicits. This is
    simpler and more expressive.
    odersky committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    91a5be5 View commit details
    Browse the repository at this point in the history
  7. More tests

    odersky committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    ffac28b View commit details
    Browse the repository at this point in the history
  8. Add a doc page

    odersky committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    52392c7 View commit details
    Browse the repository at this point in the history
  9. Add Mimafilters

    odersky committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    6e904fb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    89e80b9 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2024

  1. Fix syntax.md typo

    Also, test infix operations taking [...] as a right operand.
    odersky committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    599d51c View commit details
    Browse the repository at this point in the history
  2. Polishing

    Some corrections in docs, fix typos, drop unused code.
    odersky committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    83e0372 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. Configuration menu
    Copy the full SHA
    ceb08a7 View commit details
    Browse the repository at this point in the history
  2. Update check file

    odersky committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    28700de View commit details
    Browse the repository at this point in the history