-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meta.meta
returns a broken value for Types
#5805
Comments
|
Variant A seems as the simplest fix: please take a look at #5869. |
Jaroslav Tulach reports a new STANDUP for yesterday (2023-03-13): Progress: - Next Day: Continue investigating 48MB
|
See the following example:
Expected behaviour
The variant B is my personal preference - I'm not sure if
My_Type
is and should be an Atom? I think we should introduce a separateMeta.Type
to hold the types. This would make our life easier also in regards to #5792, allowing us to check if the secondis_a
argument is aType
and reject invalid arguments easily.Current behaviour
The
fields
method crashes. This is definitely not desirable.I'd suggest to fix this by going (B) and not making types Atoms if that is OK. But a fix that will go the (A) route sounds acceptable too. We just shouldn't crash.
The text was updated successfully, but these errors were encountered: