Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ast/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ pub enum Kind {

impl Kind {
#[inline]
pub(crate) fn is_private(self) -> bool {
pub fn is_private(self) -> bool {
(self as u8) >= (Kind::PrivateField as u8)
&& (self as u8) <= (Kind::PrivateStaticGetSetPair as u8)
}
Expand Down
Loading
Loading