Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (c5791f5 2022-11-11T00:05:26.949466Z)
What command(s) is the bug in?
forge flatten
Operating System
macOS (Apple Silicon)
Describe the bug
Firstly I run the forge flatten --output src/a.sol src/Impl/b.sol to flat my contract.
Then I run forge build.
It will give me an error: ParserError: Multiple SPDX license identifiers found in source file. Use "AND" or "OR" to combine multiple licenses.

Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (c5791f5 2022-11-11T00:05:26.949466Z)
What command(s) is the bug in?
forge flatten
Operating System
macOS (Apple Silicon)
Describe the bug
Firstly I run the

forge flatten --output src/a.sol src/Impl/b.solto flat my contract.Then I run
forge build.It will give me an error: ParserError: Multiple SPDX license identifiers found in source file. Use "AND" or "OR" to combine multiple licenses.