Skip to content

Commit

Permalink
Remove old TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Oct 22, 2024
1 parent 8e491b7 commit a6ccac0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/prelude.gdn
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ fun (this: String) index_of(needle: String): Option<Int> {
while (i + needle.len()) <= this.len() {
let substring = this.substring(i, i + needle.len())

// TODO: better error on ! here
if substring == needle {
return Some(i)
}
Expand Down
2 changes: 1 addition & 1 deletion src/test_files/go_to_def/method_name.gdn
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ fun file_name(path: String) {

// args: definition-position
// expected stdout:
// {"start_offset":8120,"end_offset":8125,"line_number":366,"end_line_number":366,"path":"prelude.gdn"}
// {"start_offset":8080,"end_offset":8085,"line_number":365,"end_line_number":365,"path":"prelude.gdn"}

0 comments on commit a6ccac0

Please sign in to comment.