-
Notifications
You must be signed in to change notification settings - Fork 38
Issues with outcome printer and arity0 #512
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -179,6 +179,8 @@ module Js: { | |
} | ||
type arity0 = (.) => unit | ||
type arity0b = (.) => int | ||
type arity0c = Js.Fn.arity0<Js.Fn.arity0<array<int>>> | ||
type arity0d = (. unit) => unit | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be something like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure currently there's even a syntax that can express the intended type: uncurried function that returns a curried function There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Possibly related rescript-lang/rescript#5395 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After the patch this is now |
||
type arity1 = (. int) => int | ||
type arity2 = (. int, int) => int | ||
type arity3 = (. int, int, int) => int | ||
|
Uh oh!
There was an error while loading. Please reload this page.