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
Going to add a bunch of issues for important features/bugs I just don't want to work on right now.
In a library dit, you should be able to declare functions without importing the language. Otherwise, many different libraries would import the same languages over and over. These langs will get added on the fly, identical to if you had done lang Javascript {||} and not defined anything.
Keep in mind that lang names are not global (same name across file) but universal (same name anywhere in any file). There is only one JavaScript. That's why it's okay to not protect lang names behind dit namespaces.
import must merge every lang in the target
pull must check if it's pulling a func and merge it's lang.
There should be a boolean Assigned attribute on langs. It should be true for any lang def that is complete and requires no additional declarations. Assigned = true always overwrites null or False regardless of priority.
If a function is called while its lang has Assigned = false or null, that should be a UnassignedLangError. Currently, it just errors when it gets a MissingPropError, which is confusing.
The text was updated successfully, but these errors were encountered:
Going to add a bunch of issues for important features/bugs I just don't want to work on right now.
In a library dit, you should be able to declare functions without importing the language. Otherwise, many different libraries would import the same languages over and over. These langs will get added on the fly, identical to if you had done
lang Javascript {||}
and not defined anything.Keep in mind that lang names are not global (same name across file) but universal (same name anywhere in any file). There is only one
JavaScript
. That's why it's okay to not protect lang names behind dit namespaces.import
must merge every lang in the targetpull
must check if it's pulling a func and merge it's lang.Assigned
attribute on langs. It should be true for any lang def that is complete and requires no additional declarations.Assigned = true
always overwritesnull or False
regardless of priority.Assigned = false or null
, that should be aUnassignedLangError
. Currently, it just errors when it gets aMissingPropError
, which is confusing.The text was updated successfully, but these errors were encountered: