package ceylon.language;

import com.redhat.ceylon.compiler.java.metadata.Annotation;
import com.redhat.ceylon.compiler.java.metadata.Annotations;
import com.redhat.ceylon.compiler.java.metadata.Ceylon;
import com.redhat.ceylon.compiler.java.metadata.Name;
import com.redhat.ceylon.compiler.java.metadata.TypeInfo;

@Ceylon
public interface Closeable {

    @Annotations(@Annotation("formal"))
    void open();

    @Annotations(@Annotation("formal"))
    void close(@Name("exception") 
    @TypeInfo("ceylon.language.Nothing|ceylon.language.Exception") 
    Exception exception);
}

@@ -552,25 +552,35 @@
 %22) %0A    
-Exception
+java.lang.Throwable
  excepti

fix Closeable