scalacenter / scastie

An interactive playground for Scala
https://scastie.scala-lang.org
Apache License 2.0
429 stars 102 forks source link

Two stacked if with significant identations leads to a strange seemingly unrelated error #1080

Open rochala opened 2 months ago

rochala commented 2 months ago

Describe the bug

No response

Scastie snippet link

No response

To Reproduce

if true then
  if true then 
    println("yes")

worksheet mode

Expected behavior

It should work

Screenshot ( Optional )

No response

Version

Scastie website

What browsers are you seeing the problem on?

No response

Relevant log output

No response