This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
rust
/
src
/
test
/
compile-fail
/
put-in-fn.rs
9 lines
80 B
Rust
Raw
Normal View
History
Unescape
Escape
Implement the "simple typechecker", which avoids HM inference
2010-07-12 19:39:29 -07:00
// error-pattern: iterator function
Fix ret/put mis-identification in typechecker. Closes #87.
2010-07-14 09:41:08 -07:00
fn
f
(
)
->
int
{
put
10
;
}
fn
main
(
)
{
Implement the "simple typechecker", which avoids HM inference
2010-07-12 19:39:29 -07:00
}
Reference in New Issue
Copy Permalink