Open imartemy1524 opened 3 months ago
It seems that plugin doesn't recognize tact Map.get function, and represents it as a system keyword.
struct OK{ v: map<Address, Bool>; } extends mutates fun setOk(self: OK, key: Address) { //syntax error here let c = self.v.get(key); require(c == null, "Already set"); self.v.set(key, true); }
IDENTIFIER expected, got 'get', <function attribute>, IDENTIFIER or fun expected, got '('
IDENTIFIER expected, got 'get'
<function attribute>, IDENTIFIER or fun expected, got '('
Tact plugin version: 2.3 Webstorm version: 2024.2 Operation system: Arch Linux x86_64
It seems that plugin doesn't recognize tact Map.get function, and represents it as a system keyword.
Code example:
Error messages:
IDENTIFIER expected, got 'get'
,<function attribute>, IDENTIFIER or fun expected, got '('
System information
Tact plugin version: 2.3 Webstorm version: 2024.2 Operation system: Arch Linux x86_64