home
/
code
/
tiger.ml.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Fail successful execution when expected error is defined
[tiger.ml.git]
/
compiler
/
testcases
/
test23.tig
Commit
Line
Data
38ffcb1f
SK
1
/* error : type mismatch */
2
3
let
4
type rectype = {name:string , id:int}
5
var rec1 := rectype {name="aname", id=0}
6
in
7
rec1.name := 3;
8
rec1.id := ""
9
end
This page took
0.02371 seconds
and
4
git commands to generate.