summaryrefslogtreecommitdiff
path: root/test/generictype.myr
AgeCommit message (Collapse)Author
2014-11-04Fix most tests.Ori Bernstein
Matching constants is still buggered.
2014-02-10Do some sanitization on traits.Ori Bernstein
- 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.
2013-12-16Convert main() to effectively return void.Ori Bernstein
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)
2013-10-28Streamline syntax.Ori Bernstein
Move from: match foo bar: action ;; baz: action ;; To: match foo | bar: action | baz: action ;;
2013-08-09Add generic type test.Ori Bernstein
2013-01-16Comment the purpose of the tests.Ori Bernstein
Each test now gets a comment describing what it actually checks, and what it exits with.
2012-09-04Add missing tests.Ori Bernstein