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
import as
Slither can’t create an IR when a smart contract with renamed import (import { X as Y } from 'xyz.sol';).
import { X as Y } from 'xyz.sol';
Importing without the rename 'fixes' the issue.
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.23; contract Bar { constructor() { } }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.23; import { Bar as Bar2 } from "./Bar.sol"; contract Foo { constructor() { new Bar2(); } }
0.10.0
No response
The text was updated successfully, but these errors were encountered:
Thanks for your interest in Slither. This is a known issue that will take a big lift to properly support #1452
Sorry, something went wrong.
No branches or pull requests
Describe the issue:
Slither can’t create an IR when a smart contract with renamed import (
import { X as Y } from 'xyz.sol';
).Importing without the rename 'fixes' the issue.
Code example to reproduce the issue:
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.23; contract Bar { constructor() { } }
Version:
0.10.0
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: