Closed sezna closed 1 month ago
Describe the bug
The following code snippet compiles without errors, although the internal and @Config have no meaning on the inner callable:
internal
@Config
namespace MyQuantumProgram { @EntryPoint() operation Main() : Result[] { @Config(Base) internal operation Foo(): Unit { } return []; } }
Maybe we could produce a lint warning, or disallow in these cases?
Closing as internal does nothing anymore (the default is internal), so this is inconsequential.
Describe the bug
The following code snippet compiles without errors, although the
internal
and@Config
have no meaning on the inner callable:Maybe we could produce a lint warning, or disallow in these cases?