Created
July 10, 2012 15:36
-
-
Save holograph/3084142 to your computer and use it in GitHub Desktop.
IntelliJ IDEA Scala bug example: plugin does not propagate @throws annotation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tomergabel.examples; | |
/** | |
* Created by tomer on 7/10/12. | |
*/ | |
public class Derived implements Superclass { | |
public void doSomething() throws Exception { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tomergabel.examples | |
/** | |
* Created by tomer on 7/10/12. | |
*/ | |
trait Superclass { | |
@throws( classOf[ Exception ] ) def doSomething() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment