You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 7040 Reporter:@sbriais Assigned to:@alainfrisch Status: closed (set by @alainfrisch on 2015-11-16T10:37:55Z) Resolution: won't fix Priority: normal Severity: feature Category: ~DO NOT USE (was: OCaml general) Monitored by:@gasche@diml
Bug description
I was surprised to not get any warning when writing code like the following:
class a =
object
method virtual foo: int
method foo = 42
end
It is probably a mistake to declare a method virtual and give its implementation in the same class.
The text was updated successfully, but these errors were encountered:
Original bug ID: 7040
Reporter: @sbriais
Assigned to: @alainfrisch
Status: closed (set by @alainfrisch on 2015-11-16T10:37:55Z)
Resolution: won't fix
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @gasche @diml
Bug description
I was surprised to not get any warning when writing code like the following:
class a =
object
method virtual foo: int
method foo = 42
end
It is probably a mistake to declare a method virtual and give its implementation in the same class.
The text was updated successfully, but these errors were encountered: