vscode-wasm icon indicating copy to clipboard operation
vscode-wasm copied to clipboard

Negative floats get highlighted in different color

Open tom-programming opened this issue 3 years ago • 0 comments

MWE:

(module
(func (result f64)
  f64.const -8.33
  f64.const 8.33
)
)

see my output: highlight-2

VSCode version: 1.58.0 OS: macOS Extension 1.3.1

EDIT: more specifically the "-8" gets lexed as an integer and ".33" is invalid. It is probably an issue of priorities. Moreover the keywords "get_local" and "set_local" show up as "invalid" too.

tom-programming avatar Jul 13 '21 20:07 tom-programming