Age | Commit message (Collapse) | Author |
|
Matching constants is still buggered.
|
|
- Remove tctest: all tests now take a boolean.
- Rename traits to more sensible names:
tcnum => numeric
tcint => integral
tcfloat => floating
tcidx => indexable
tcslice => sliceable
- Remove duplicate trait setting.
We were setting traits twice in some places, adding
ones that didn't belong, which was making pointers look
indexable.
|
|
Now, if we exit thorugh the end of main, we will ignore
the return value, and call exit(0) from the start stub.
If you want to exit with a different return value, you need
to call std.exit(val)
|
|
Move from:
match foo
bar:
action
;;
baz:
action
;;
To:
match foo
| bar:
action
| baz:
action
;;
|
|
|
|
Each test now gets a comment describing what it actually checks,
and what it exits with.
|
|
|