We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
and also for ModifierDeclarations
code = contract Foo {\n\tmodifier bar () returns (string) {\n\t\treturn "Hello";\n\t}\n\n\n\tfunction baz () {}\n}
contract Foo {\n\tmodifier bar () returns (string) {\n\t\treturn "Hello";\n\t}\n\n\n\tfunction baz () {}\n}
a = sp.parse (code).body [0]
code.slice (0,a.body [0].end)
returns
contract Foo {\n\tmodifier bar () returns (string) {\n\t\treturn "Hello";\n\t}\n\n\n\t
should've stopped at "}" but also included the whitespace
The text was updated successfully, but these errors were encountered:
No branches or pull requests
and also for ModifierDeclarations
code =
contract Foo {\n\tmodifier bar () returns (string) {\n\t\treturn "Hello";\n\t}\n\n\n\tfunction baz () {}\n}
a = sp.parse (code).body [0]
code.slice (0,a.body [0].end)
returns
contract Foo {\n\tmodifier bar () returns (string) {\n\t\treturn "Hello";\n\t}\n\n\n\t
should've stopped at "}" but also included the whitespace
The text was updated successfully, but these errors were encountered: