We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Original bug ID: 6862 Reporter: @garrigue Assigned to: @garrigue Status: closed (set by @xavierleroy on 2016-12-07T10:49:18Z) Resolution: fixed Priority: normal Severity: minor Version: 4.02.1 Target version: 4.02.2+dev / +rc1 Fixed in version: 4.02.2+dev / +rc1 Category: typing
The following code causes no warning:
type _ opt = Just : 'a -> 'a opt | Nothing : 'a opt class d (Just x) = object method x : int = x end;;
This is bad, because actually the next expression causes a segmentation fault...
new d Nothing;;
The text was updated successfully, but these errors were encountered:
Comment author: @garrigue
Fixed in 4.02 and trunk at revisions 16101 and 16102.
Sorry, something went wrong.
garrigue
No branches or pull requests
Original bug ID: 6862
Reporter: @garrigue
Assigned to: @garrigue
Status: closed (set by @xavierleroy on 2016-12-07T10:49:18Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.02.1
Target version: 4.02.2+dev / +rc1
Fixed in version: 4.02.2+dev / +rc1
Category: typing
Bug description
The following code causes no warning:
type _ opt = Just : 'a -> 'a opt | Nothing : 'a opt
class d (Just x) = object method x : int = x end;;
This is bad, because actually the next expression causes a segmentation fault...
new d Nothing;;
The text was updated successfully, but these errors were encountered: