Skip to content

Compiler hangs during patmat analysis #13154

@Christewart

Description

@Christewart

Reproduction steps

Scala version: 2.13.18

Christewart/bitcoin-s-core@ec55801

$ git clone git@github.com:Christewart/bitcoin-s-core.git
$ git checkout ec558010eb9d2cae59f4ac96fa8db429d540e156
$ sbt "coreJVM/compile"

And that should never finish compiling. I've waited 10+ minutes. I've observed this on both macOS/linux so doesn't seem OS specific. Compile times on current master ( d092aed967ac83c6c6265d5907bf01d3e2d36bbc ) ~25 seconds on apple silicon mac

Image

Problem

I would expect scalac to succeed or fail in compiling the source files

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions