Nicolas Cannasse %!s(int64=16) %!d(string=hai) anos
pai
achega
06962d517a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      parser.ml

+ 1 - 1
parser.ml

@@ -375,7 +375,7 @@ and parse_class_field s =
 			} in
 			(FFun (name,doc,l,pl,f),punion p1 (pos e))
 		| [< >] ->
-			if l = [] && doc = None then raise Stream.Failure else serror()
+			if l = [] then raise Stream.Failure else serror()
 
 and parse_signature_field flag = parser
 	| [< '(Kwd Var,p1); name = any_ident; s >] ->