You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I support this if modules are also updated to support dashes for consistency. Otherwise we have a situation where my-app = {} is valid but import .my-app and my-app.Schema{} is not.
I personally think that the semantic distinction between fields and identifiers is enough to explain the issue in #1787. Wrapping the top level in {} to turn it into a single dict export to allow string-literals as fields makes sense.
My motivation for semi-supporting the change is to align module naming with that of file/directory naming and by extension, that would include supporting the dash in identifiers.
Enhancement
do we need to support dash in identifier?
e.g.,
The text was updated successfully, but these errors were encountered: