Details

      Description

      Affects 2.10.x.

      scala> (try { None } catch { case util.control.NonFatal(ex) => None }) getOrElse 0
      
      <console>:8: warning: This catches all Throwables. If this is really intended, use `case ex6 : Throwable` to clear this warning.
                    (try { None } catch { case util.control.NonFatal(ex) => None }) getOrElse 0
                     ^
      

        Issue Links

          Activity

          Show
          Jason Zaugg added a comment - https://github.com/scala/scala/pull/1935

            People

            • Assignee:
              Jason Zaugg
              Reporter:
              Jason Zaugg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development