mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
remove warning
This commit is contained in:
parent
6e0db0a1d3
commit
81cbfa3ae0
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ impl<'a> Visit<'a> for Rewriter {
|
||||||
if !self.config.strict_rewrites
|
if !self.config.strict_rewrites
|
||||||
&& !UNSAFE_GLOBALS.contains(&s.property.name.as_str())
|
&& !UNSAFE_GLOBALS.contains(&s.property.name.as_str())
|
||||||
{
|
{
|
||||||
if let Expression::Identifier(i) = &s.object {
|
if let Expression::Identifier(_) = &s.object {
|
||||||
// cull tree - this should be safe
|
// cull tree - this should be safe
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue