curl: protected classes does not exists (yet?)
authorJean Privat <jean@pryen.org>
Thu, 1 Aug 2013 20:52:53 +0000 (16:52 -0400)
committerJean Privat <jean@pryen.org>
Thu, 1 Aug 2013 20:52:53 +0000 (16:52 -0400)
TODO: compilers must detect and refuse this

Signed-off-by: Jean Privat <jean@pryen.org>

lib/curl/curl.nit

index cfa1b15..788c553 100644 (file)
@@ -338,7 +338,7 @@ interface CurlCallbacks
 end
 
 # Callbacks attributes
-protected abstract class CurlCallbacksRegisterIntern
+abstract class CurlCallbacksRegisterIntern
   var delegate: nullable CurlCallbacks writable = null
 end
 
@@ -361,7 +361,7 @@ class CurlResponseFailed
 end
 
 # Success Abstract Response Success Class
-protected abstract class CurlResponseSuccessIntern
+abstract class CurlResponseSuccessIntern
        super CurlCallbacks
        super CurlResponse