From 59bb7eec7ad4b341edfce00dd45be0813661a5ce Mon Sep 17 00:00:00 2001 From: Bob Nystrom Date: Thu, 13 Feb 2014 08:38:44 -0800 Subject: [PATCH] Remove some outdated TODOs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They’re TODONE! --- test/constructor/default.wren | 3 --- test/for/syntax.wren | 3 --- test/list/subscript_setter.wren | 13 ------------- test/range/floating_point.wren | 6 ------ test/string/unicode_escapes.wren | 1 - test/while/syntax.wren | 2 -- 6 files changed, 28 deletions(-) diff --git a/test/constructor/default.wren b/test/constructor/default.wren index 8ab5396e..a8b8085f 100644 --- a/test/constructor/default.wren +++ b/test/constructor/default.wren @@ -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. diff --git a/test/for/syntax.wren b/test/for/syntax.wren index 9825d9e1..6e7ed2bf 100644 --- a/test/for/syntax.wren +++ b/test/for/syntax.wren @@ -18,6 +18,3 @@ for // expect: 1 // expect: 2 // expect: 3 - -// TODO: Return from inside for loop. -// TODO: Return closure from inside for loop. diff --git a/test/list/subscript_setter.wren b/test/list/subscript_setter.wren index d7e567de..87d648d8 100644 --- a/test/list/subscript_setter.wren +++ b/test/list/subscript_setter.wren @@ -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. diff --git a/test/range/floating_point.wren b/test/range/floating_point.wren index 71df3157..114ea1fb 100644 --- a/test/range/floating_point.wren +++ b/test/range/floating_point.wren @@ -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. diff --git a/test/string/unicode_escapes.wren b/test/string/unicode_escapes.wren index aa8b7780..e15c4447 100644 --- a/test/string/unicode_escapes.wren +++ b/test/string/unicode_escapes.wren @@ -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? diff --git a/test/while/syntax.wren b/test/while/syntax.wren index f5dfb361..f0e2a9fb 100644 --- a/test/while/syntax.wren +++ b/test/while/syntax.wren @@ -22,5 +22,3 @@ while // expect: 1 // expect: 2 // expect: 3 - -// TODO: Close over variable in body. \ No newline at end of file