-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Description
syntax::parse::new_parser_from_file
has a FIXME that says "this copy is unfortunate". Actually I think the comment is out of date, because all that's being copied is a box. However, I'm wondering about the related issue of whether codemap::filemap
should have an @str
field as it currently does, or whether that should be a str
(since it's not shared). I don't understand what's going on well enough to really fix this (though I tried), so I'm filing this so someone who knows why the comment is there (like maybe @brson ) can weigh in.
Metadata
Metadata
Assignees
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.