-
Notifications
You must be signed in to change notification settings - Fork 228
Closed
Labels
feature-completenessA special or edge case of another feature which isn't supportedA special or edge case of another feature which isn't supportedwildcard-variablesThe wildcard-variables featureThe wildcard-variables feature
Description
Do we allow an import statement like import ... as _;? And if so, what does this do? Is this also non-binding?
@dart-lang/language-team
Previous Discussion
Maybe we should make
_non-binding as an import prefix?It's like a top-level declaration, but it's also only available in the lexical scope. If you want to import a library only for it's extensions, you may want to import it with a prefix, and never need to refer to it, and
as _would work for that.
Metadata
Metadata
Assignees
Labels
feature-completenessA special or edge case of another feature which isn't supportedA special or edge case of another feature which isn't supportedwildcard-variablesThe wildcard-variables featureThe wildcard-variables feature