summaryrefslogtreecommitdiff
path: root/test/trait-builtin.myr
AgeCommit message (Collapse)Author
2018-01-11Move to new trait syntax.Ori Bernstein
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-02-19Use 'myrbuild' to build the testsOri Bernstein
This both tests 'myrbuild', and ensures that we handle dependencies and such correctly.
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.