Skip to content

Error involving inlined code #2404

Closed
Closed
@julienrf

Description

@julienrf

The following code fails to compile with the following error:

[error] 84 |  @`inline` final def ++ [V2 >: V](xs: collection.Iterable[(K, V2)]): CC[K, V2] = concat(xs)
[error]    |                                                                                  ^^^^^^
[error]    |value of type <nonsensical><notype></nonsensical> does not take type parameters
[error]    | This location is in code that was inlined at /home/travis/build/scala/collection-strawman/src/main/scala/strawman/collection/immutable/HashMap.scala:106

I’ll try to minimize the test case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions