sol-profiler icon indicating copy to clipboard operation
sol-profiler copied to clipboard

Problem in parsing .sol file

Open hack3r-0m opened this issue 3 years ago • 2 comments

Error in generating profile: Expected "contract", "import", "interface", "library", "pragma", comment, end of input, end of line, or whitespace but "a" found. Line: 14, Column: 1

line 14 starts with abstract contract and this is not parsed correctly

hack3r-0m avatar Mar 07 '21 17:03 hack3r-0m

Thanks for raising this @hack3r-0m . Can you attach a sample and steps to reproduce this?

Aniket-Engg avatar Jan 11 '22 06:01 Aniket-Engg

Same problem than OP, I've just installed the program with npm and then run sol-profiler contracts/file.sol and it gave me the same error.

If it helps, the contract is written in solidity > 0.8

lpinilla avatar May 25 '22 16:05 lpinilla