Skip to content

Make infinite compilation cancellable #2019

Open
@rochala

Description

@rochala

Infinite compilations are not cancelled at all. To my understanding, the cancellation happens on the next file and doesn't interrupt current source compilation.

example code with inifite compilation:
Warning: it eats a lot of CPU and RAM so make sure to kill it afterwards.

//> using scala "3.2.2"
//> using lib "co.fs2::fs2-io:3.6.1"

import cats.effect.*
import fs2.*

object Main extends IOApp.Simple:
  def run: IO[Unit] = Stream.duration

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA defect or misbehaviour.difficulty / hardAny change that is hard to implement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions