Skip to content

Commit

Permalink
Update crates/oxc_syntax/src/reference.rs
Browse files Browse the repository at this point in the history
Co-authored-by: overlookmotel <[email protected]>
  • Loading branch information
IWANABETHATGUY and overlookmotel committed Jan 22, 2025
1 parent a63bb39 commit 7f1144f
Show file tree
Hide file tree
Showing 6 changed files with 2,114 additions and 985 deletions.
1 change: 1 addition & 0 deletions crates/oxc_allocator/src/clone_in.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pub trait CloneIn<'new_alloc>: Sized {
fn clone_in(&self, allocator: &'new_alloc Allocator) -> Self::Cloned;

/// Almost same as `clone_in`, but for some special type, it will also clone the semantic ids.
/// Please use this method only if you make sure the semantic info is synced with the ast.
#[inline]
fn clone_in_with_semantic_ids(&self, allocator: &'new_alloc Allocator) -> Self::Cloned {
self.clone_in(allocator)
Expand Down
Loading

0 comments on commit 7f1144f

Please sign in to comment.