Hello everyone! Could anybody help me with such error?
/home/codewarrior/solidity/contracts/solution.sol:8:25: DeclarationError: Undeclared identifier.
result = string(abi.encodePacked(result, pattern));
^-^
Compilation failed. See above.
I'm using ^0.4.19 compile version. When I'm running into the Remix it works perfectly
May 9, 2022, 4:29 PM
This error occurs in the codewars
May 9, 2022, 4:30 PM
Change the compiler version
May 9, 2022, 10:25 PM