Comments (1)
Hi @Freydal , thanks for reporting this. Unfortunately, supporting this would make this tool way more complex, as there's no way to define type aliases in Solidity. I'm not sure if your workaround would work in the general case.
I'll document this in the readme.
from truffle-flattener.
Related Issues (20)
- Solidity 0.7.0 constructor without modifier breaks parser HOT 3
- Format is incorrect if import is separated into multiple lines HOT 1
- Does Not Support Pragma Statement Including `||` HOT 1
- Will support hardhat? HOT 4
- Crashes when pathname includes spaces. HOT 2
- Invalid Path Problem HOT 1
- Support for HardHat HOT 3
- None of the sub-resolvers resolved "nft\node_modules\@openzeppelin\contracts\token\ERC721\ERC721Full.sol" location. HOT 7
- truffle-flattener output has multiple SPDX licenses HOT 1
- Cannot verify SmartContract on BSCscan.. help please to flatten code? HOT 1
- Could not parse smart contract with "unchecked block" syntax HOT 18
- TypeError: Definition of base has to precede definition of derived contract abstract contract HOT 2
- How to export the flattened version generated by truffle-flattener? HOT 3
- solidity 0.8.0,truffle-flattener,packaging sol file problem HOT 6
- npx github:fedeb95/truffle-flattener is error!!! HOT 2
- Remove truffle env dependence HOT 1
- Add output file option HOT 4
- Error: None of the sub-resolvers resolved "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol" location. HOT 2
- SPDX-License-Identifier: MIT
- pragma is not defined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from truffle-flattener.