HCoop
/
hcoop
/
debian
/
mlton.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Import Upstream version 20180207
[hcoop/debian/mlton.git]
/
regression
/
fail
/
overloading-context.1.sml
1
(*
This must fail
,
because the overloading context can be no larger than the
2
*
smallest enclosing strdec
.
So
,
the declaration
of
double must be resolved
3
* (
with type
int
->
int
)
before
continuing
.
4
*)
5
structure
S
=
6
struct
7
fun
double x
=
x
+
x
8
end
9
val
_
=
S
.
double
2.0