File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ fn get_semantic_tokens(
56
56
57
57
// Track how many characters we've processed in the entire file.
58
58
// This accumulates across all isograph literals to maintain proper positioning.
59
- let mut processed_until = 0 as usize ;
59
+ let mut processed_until = 0_usize ;
60
60
61
61
let lsp_semantic_tokens = parsed_iso_literals
62
62
. iter ( )
@@ -149,16 +149,18 @@ fn convert_isograph_semantic_token_to_lsp_semantic_token(
149
149
token_type : isograph_semantic_token. item . 0 ,
150
150
token_modifiers_bitset : 0 ,
151
151
} ;
152
+ if isograph_semantic_token. item . 0 == 17 {
153
+ eprintln ! ( "GOT IT {:#?}" , token) ;
154
+ }
152
155
token
153
156
}
154
157
155
158
fn get_isograph_semantic_tokens (
156
159
result : & IsoLiteralExtractionResult ,
157
160
) -> & Vec < WithSpan < IsographSemanticToken > > {
158
- let semantic_tokens = match result {
161
+ ( match result {
159
162
IsoLiteralExtractionResult :: ClientPointerDeclaration ( s) => & s. item . semantic_tokens ,
160
163
IsoLiteralExtractionResult :: ClientFieldDeclaration ( s) => & s. item . semantic_tokens ,
161
164
IsoLiteralExtractionResult :: EntrypointDeclaration ( s) => & s. item . semantic_tokens ,
162
- } ;
163
- semantic_tokens
165
+ } ) as _
164
166
}
You can’t perform that action at this time.
0 commit comments