solc-typed-ast icon indicating copy to clipboard operation
solc-typed-ast copied to clipboard

A TypeScript package providing a normalized typed Solidity AST along with the utilities necessary to generate the AST (from Solc) and traverse/manipulate it.

Results 22 solc-typed-ast issues
Sort by recently updated
recently updated
newest added

I ran into an issue using InferType.isFunctionCallExternal(). Not sure if I'm doing something wrong but wanted to reach out for an assessment/recommendation. I'm using solc-typed-ast 18.1.3. Calling code: ```typescript //...

https://github.com/Consensys/solc-typed-ast/blob/master/src/ast/implementation/declaration/contract_definition.ts#L77 pls fix "Used error definition ids" -> "Used event definition ids"

## Description When I try to pass a compiler version to the `compileSol()` method, I'm getting the following error: ```Compiler version 0.8.0: Unknown key "0" ``` Also when I try...

## Description Starting from v0.8.24, `solc` binaries for macos have become compatible with Apple Silicon chips. It would be very nice to add support for them at some point. ##...

good first issue
help wanted

## Description For my task I want to remove all the [`StructuredDocumentation`](https://consensys.github.io/solc-typed-ast/classes/StructuredDocumentation.html) nodes, it seems like it's possible without traversing the graph by simply ignoring this particular node type in...

## Description Hello, I am not sure if this is a feature request or support request. Can I compile smart contracts that contain external imports using `solc-typed-ast`? ```solidity // SPDX-License-Identifier:...

question

## Environment Any ## Scenario 1. Have a file `A.sol`, that declares file-level constant `uint constant X = 100;`. 2. Have a file `B.sol`, that imports `A.sol` and aliases it...

bug

## Description Consider following case: ```typescript eq([types.bool, types.bool], [new BoolType(), new BoolType()]) ``` It actually will return `false`. However it does not seem to be bug, as it is intended...

bug

## Description I've made my own kind of janky mixins to force solc-typed-ast to work with Yul in my projects, but I'd like to directly integrate it in the package...

enhancement

**Work in progress, not ready to merge** This is not ready yet, I'm just creating a PR to make it easier to track progress. ## Summary Introduce typed yul AST...