Skip to content

('a', 98): (Char, Char) fails type checking the _2 #1366

@nicolasstucki

Description

@nicolasstucki
dotty> ('a', 98): (Char, Char) 
     ^
('a', 98): (Char, Char)
<console>:5: error: type mismatch:
 found   : Int(98)
 required: T2
scalac> ('a', 98): (Char, Char) 
res4: (Char, Char) = (a,b)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions