---
title: "Comment by Stephen Novosel on \"How to unflatten Solidity contracts\" | Hashnode"
description: "Davi, will this work with sources flattened with Hardhat?"
url: "https://hashnode.com/posts/how-to-unflatten-solidity-contracts/6253279575dccb6f343200bf/comment/631a30c800230a29830dcb6b"
---

[Discussion](https://hashnode.com/posts/how-to-unflatten-solidity-contracts/6253279575dccb6f343200bf)

Comment [How to unflatten Solidity contracts](https://hashnode.com/posts/how-to-unflatten-solidity-contracts/6253279575dccb6f343200bf)

[Stephen Novosel](https://hashnode.com/@smartk)

[Sep 8, 2022](https://hashnode.com/posts/how-to-unflatten-solidity-contracts/6253279575dccb6f343200bf/comment/631a30c800230a29830dcb6b)

Davi, will this work with sources flattened with Hardhat?

[Davi Coelho](https://hashnode.com/@devdavi)

[Oct 1, 2022](https://hashnode.com/posts/how-to-unflatten-solidity-contracts/6253279575dccb6f343200bf/comment/631a30c800230a29830dcb6b#reply-63389d88fa20fa4bc8e57b95)

Nice catch! Not really. I'll push a fix for that right now.

[Davi Coelho](https://hashnode.com/@devdavi)

[Oct 1, 2022](https://hashnode.com/posts/how-to-unflatten-solidity-contracts/6253279575dccb6f343200bf/comment/631a30c800230a29830dcb6b#reply-6338a95de594fa4ba3b9078b)

Now it works. Thanks for noticing :)

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1664656882744/-ijDfwKoB.png)
