Some work done for CardinalRange #11

Merged
merged 4 commits into from May 21, 2011

2 participants

@qiuhw

No description provided.

qiuhw added some commits May 21, 2011
@qiuhw qiuhw t/range/to_s.t now passes.
Add another multi method for initialization of Range to handle three parameters,
fix a bug in Range#to_s, and since Symbols are not yet implemented, use key=value
pair instead of Symbol in t/range/to_s.t, so that t/range/to_s.t now passes.
41b18e1
@qiuhw qiuhw [t/range/to_s.t] forgot to bump "plan 1;" to "plan 2;" 2a0211b
@qiuhw qiuhw Range#!from_exclusive has gone, and Range#!to_exclusive is now simply…
… Range#!exclusive.

Ruby don't have !from_exclusive. And if cardinal is supposed to have !from_exclusive, then
I don't know what Range.new(from, to, from_exclusive=true, to_exclusive=true).to_s is supposed
to output.
3aa96b2
@qiuhw qiuhw pod fixes and some other minor changes for src/classes/Range.pir. 73d3bbf
@tadzik tadzik merged commit fa2ff00 into parrot:master May 21, 2011
@tadzik
Parrot Virtual Machine member

Awesome. The TAP output looks so much nicer now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment