This time, I do not have duplicate names anywhere in my project. I only have this one file called IGelatoAction.sol and I only declare this one interface in that one file and import it elsewhere.
I can manually remove the unexpected token and this way continue my work (oz create the contract). But it is a weird bug I wanted to draw your attention to.
Hi, I have no clue yet on how to reproduce. I will play around a little once and report back, once I had some more time. Dont worry till then. Thank you!
I saw it a couple of times when I was trying different things with the Gelato repo to identify the node 12 oz compile issue, though nothing that I could reproduce consistently.
it should have been import '../interfaces/triggers_actions_interfaces/IGelatoAction.sol';
not import './interfaces/triggers_actions_interfaces/IGelatoAction.sol';
Now that I have changed it, the compiler generates the correct builds.