Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Giuseppe Castagna
occurrence-typing
Commits
bc1057f4
Commit
bc1057f4
authored
Sep 23, 2021
by
Giuseppe Castagna
Browse files
typo
parent
e32ec641
Changes
1
Hide whitespace changes
Inline
Side-by-side
scp-reviews-2108.tex
View file @
bc1057f4
...
...
@@ -458,8 +458,8 @@ functions) cannot do it.
If we explicitly annotate the function with this intersection type
then the function type-checks in all systemes.
If we rewrite the function so that it has a single argument of type
\texttt
{
(Int,Int)
$
\lor
$
(String,String)
}
, that is
If we rewrite the function so that it has
just
a single argument of type
\texttt
{
(Int,Int)
$
\lor
$
(String,String)
}
, that is
\begin{verbatim}
function (x : [string,string]|[number,number])
{
...
...
@@ -474,10 +474,10 @@ then again it type checks in our system, in Typed Racket, but it fails in
Flow and in TypeScript.
So we do not really understand the purpose of the example, unless to
show an example that works in Typed Racket and our system
work but no
t
in TypeScript and Flow. In the case that this were the
correct
interpretation of the reamark of the reviewer,we added a
comment in
lines ???-???
show an example that works
both
in Typed Racket and
in
our system
bu
t
it does not
in TypeScript and Flow. In the case that this were the
correct
interpretation of the reamark of the reviewer,we added a
comment in
lines ???-???
\end{answer}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment