chore: remove author attribution from TODO comments across multiple source files
Remove "(bob)" author prefix from all TODO comments in benchmark/method_call.wren, include/wren.h, src/main.c, src/wren_common.h, src/wren_compiler.c, src/wren_core.c, src/wren_value.c, src/wren_value.h, and src/wren_vm.c. Update the TODO_PATTERN regex in metrics script to match the new format without author parentheses. Also refactor test file counting in metrics to use os.walk with fnmatch for recursive directory traversal instead of glob.iglob.
This commit is contained in:
@@ -6,7 +6,7 @@ io.write(~23) // expect: 4294967272
|
||||
io.write(~4294967295) // expect: 0
|
||||
|
||||
// Past max u32 value.
|
||||
// TODO(bob): Is this right?
|
||||
// TODO: Is this right?
|
||||
io.write(~4294967296) // expect: 4294967295
|
||||
|
||||
// Negative numbers.
|
||||
|
||||
@@ -14,5 +14,5 @@ io.write(1 >= 2) // expect: false
|
||||
io.write(2 >= 2) // expect: true
|
||||
io.write(2 >= 1) // expect: true
|
||||
|
||||
// TODO(bob): Wrong type for RHS.
|
||||
// TODO(bob): Comparing zero and negative zero.
|
||||
// TODO: Wrong type for RHS.
|
||||
// TODO: Comparing zero and negative zero.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
io.write(8 / 2) // expect: 4
|
||||
io.write(12.34 / -0.4) // expect: -30.85
|
||||
|
||||
// TODO(bob): Unsupported RHS types.
|
||||
// TODO(bob): Divide by zero.
|
||||
// TODO: Unsupported RHS types.
|
||||
// TODO: Divide by zero.
|
||||
|
||||
@@ -6,5 +6,5 @@ io.write(-0) // expect: -0
|
||||
io.write(123.456) // expect: 123.456
|
||||
io.write(-0.001) // expect: -0.001
|
||||
|
||||
// TODO(bob): Hex? Scientific notation?
|
||||
// TODO(bob): Literals at and beyond numeric limits.
|
||||
// TODO: Hex? Scientific notation?
|
||||
// TODO: Literals at and beyond numeric limits.
|
||||
|
||||
@@ -7,4 +7,4 @@ io.write(3 - 2 - 1) // expect: 0
|
||||
var a = 3
|
||||
io.write(-a) // expect: -3
|
||||
|
||||
// TODO(bob): Unsupported RHS types.
|
||||
// TODO: Unsupported RHS types.
|
||||
|
||||
@@ -10,5 +10,5 @@ io.write(-4.2 % -3.1) // expect: -1.1
|
||||
// Left associative.
|
||||
io.write(13 % 7 % 4) // expect: 2
|
||||
|
||||
// TODO(bob): Unsupported RHS types.
|
||||
// TODO(bob): Error on mod by zero.
|
||||
// TODO: Unsupported RHS types.
|
||||
// TODO: Error on mod by zero.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
io.write(5 * 3) // expect: 15
|
||||
io.write(12.34 * 0.3) // expect: 3.702
|
||||
|
||||
// TODO(bob): Unsupported RHS types.
|
||||
// TODO: Unsupported RHS types.
|
||||
|
||||
@@ -2,4 +2,4 @@ io.write(1 + 2) // expect: 3
|
||||
io.write(12.34 + 0.13) // expect: 12.47
|
||||
io.write(3 + 5 + 2) // expect: 10
|
||||
|
||||
// TODO(bob): Unsupported RHS types.
|
||||
// TODO: Unsupported RHS types.
|
||||
|
||||
Reference in New Issue
Block a user