diff -r 9efdebe24c65 -r 0ffcad1f6130 src/Pure/GUI/gui_thread.scala --- a/src/Pure/GUI/gui_thread.scala Mon Mar 01 20:12:09 2021 +0100 +++ b/src/Pure/GUI/gui_thread.scala Mon Mar 01 22:22:12 2021 +0100 @@ -39,7 +39,7 @@ } } - def later(body: => Unit) + def later(body: => Unit): Unit = { if (SwingUtilities.isEventDispatchThread) body else SwingUtilities.invokeLater(() => body)