Replies: 1 comment
-
This is a side effect of using the same Below shows all valid cases. use Foo; // kind: Some(Normal)
use const FOO; // kind: Some(Const)
use function bar; // kind: Some(Function)
use Foo\{
Bar, // kind: None (should be inferred from GroupUse)
function baz, // kind: Some(Function)
const QUX // kind: Some(Constant)
}; I'm not against storing the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see that
Statement::Use
is:kind
is optional, wherebyUseKind
isNormal|Function|Const
. Is it possible for UseKind to beNone
in that case? If so, what code would that look like? Sorry if that's a simple question!Beta Was this translation helpful? Give feedback.
All reactions