1
0
forked from Mirror/wren

Remove some outdated TODOs.

They’re TODONE!
This commit is contained in:
Bob Nystrom
2014-02-13 08:38:44 -08:00
parent 756fe0d920
commit 59bb7eec7a
6 changed files with 0 additions and 28 deletions

View File

@ -6,6 +6,3 @@ class Foo {
var foo = new Foo
IO.print(foo is Foo) // expect: true
IO.print(foo.toString) // expect: Foo
// TODO: Get rid of this. If you're defining a class, it's because you have
// some state to initialize. if you don't, it shouldn't be a class.

View File

@ -18,6 +18,3 @@ for
// expect: 1
// expect: 2
// expect: 3
// TODO: Return from inside for loop.
// TODO: Return closure from inside for loop.

View File

@ -22,17 +22,4 @@
IO.print(list) // expect: [7, 6, 5]
}
// TODO: Handle out of range.
// TODO: Wrong non-number type.
// TODO: Floating-point subscript.
//{
// var list = [1, 2, 3, 4]
// list[4] = 1
//}
//
//{
// var list = [1, 2, 3, 4]
// list[-5] = 1
//}
// TODO: Not in this dir, but need tests for subscript setter grammar.

View File

@ -23,9 +23,3 @@ IO.print((5...2).from) // expect: 5
IO.print((3...0).from) // expect: 3
IO.print((3...-5).from) // expect: 3
IO.print((-2...-5).from) // expect: -2
// TODO: Test toString.
// TODO: Non-number RHS.
// TODO: Non-integer RHS.
// TODO: Range iteration.
// TODO: Empty or negative ranges.

View File

@ -14,5 +14,4 @@ IO.print("\u0b83") // expect: ஃ
IO.print("\u00B6") // expect: ¶
IO.print("\u00DE") // expect: Þ
// TODO: Missing digits in escape.
// TODO: Syntax for Unicode escapes > 0xffff?

View File

@ -22,5 +22,3 @@ while
// expect: 1
// expect: 2
// expect: 3
// TODO: Close over variable in body.