forked from Mirror/wren
Remove some outdated TODOs.
They’re TODONE!
This commit is contained in:
@ -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.
|
||||
|
||||
@ -18,6 +18,3 @@ for
|
||||
// expect: 1
|
||||
// expect: 2
|
||||
// expect: 3
|
||||
|
||||
// TODO: Return from inside for loop.
|
||||
// TODO: Return closure from inside for loop.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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?
|
||||
|
||||
@ -22,5 +22,3 @@ while
|
||||
// expect: 1
|
||||
// expect: 2
|
||||
// expect: 3
|
||||
|
||||
// TODO: Close over variable in body.
|
||||
Reference in New Issue
Block a user