File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,11 @@ use super::{macros::inherit_variants, *};
5050pub struct Program < ' a > {
5151 pub span : Span ,
5252 pub source_type : SourceType ,
53+ #[ content_eq( skip) ]
5354 #[ estree( skip) ]
5455 pub source_text : & ' a str ,
5556 /// Sorted comments
57+ #[ content_eq( skip) ]
5658 #[ estree( skip) ]
5759 pub comments : Vec < ' a , Comment > ,
5860 pub hashbang : Option < Hashbang < ' a > > ,
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ use crate::ast::ts::*;
1414impl ContentEq for Program < ' _ > {
1515 fn content_eq ( & self , other : & Self ) -> bool {
1616 ContentEq :: content_eq ( & self . source_type , & other. source_type )
17- && ContentEq :: content_eq ( & self . source_text , & other. source_text )
18- && ContentEq :: content_eq ( & self . comments , & other. comments )
1917 && ContentEq :: content_eq ( & self . hashbang , & other. hashbang )
2018 && ContentEq :: content_eq ( & self . directives , & other. directives )
2119 && ContentEq :: content_eq ( & self . body , & other. body )
You can’t perform that action at this time.
0 commit comments