-
Notifications
You must be signed in to change notification settings - Fork 334
Open
Labels
compiler:coreIssues for @typespec/compilerIssues for @typespec/compilerdesign:neededA design request has been raised that needs a proposalA design request has been raised that needs a proposaltriaged:core
Milestone
Description
Wondering if we could make a change so that you never update the global namespace for anything but adding a namespace.
Which means if you add scopeless types to a typespec file it would still scope it to a virtual file namespace and 2 files wouldn't conflict with each other.
For example the following would have no issue
import "./b.tsp";
model A {}// b.tsp
model A {} This comes up as defining Model or Operation or any types under Reflection directly at the root of a project just crash everything.
Metadata
Metadata
Assignees
Labels
compiler:coreIssues for @typespec/compilerIssues for @typespec/compilerdesign:neededA design request has been raised that needs a proposalA design request has been raised that needs a proposaltriaged:core