-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
area:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcgood first issuePerfect for someone who wants to get started contributingPerfect for someone who wants to get started contributingitype:bug
Milestone
Description
class C:
@annotation.nowarn("v") def f = try 1
shows
-- [E002] Syntax Warning: /Users/luc/code/scala/scala13/sandbox/A.scala:2:34 ---
2 | @annotation.nowarn("v") def f = try 1
| ^^^^^
| A try without catch or finally is equivalent to putting
| its body in a block; no exceptions are handled.
Matching filters for @nowarn or -Wconf:
- id=E2
- name=EmptyCatchAndFinallyBlock
|
| longer explanation available when compiling with `-explain`
The |
margin is missing.
Metadata
Metadata
Assignees
Labels
area:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcgood first issuePerfect for someone who wants to get started contributingPerfect for someone who wants to get started contributingitype:bug