-
Notifications
You must be signed in to change notification settings - Fork 141
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
Concretize the definition of Primitive type #2975
Conversation
@turbolent Could you please suggest the kind of test cases that make sense here for this? This is in regards to your comment here: #2962 (comment) |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2975 +/- ##
==========================================
+ Coverage 80.12% 80.15% +0.02%
==========================================
Files 348 348
Lines 81796 81970 +174
==========================================
+ Hits 65537 65699 +162
- Misses 13939 13950 +11
- Partials 2320 2321 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Maybe just add some unit tests to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Should be ready to get merged once the test have been added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
@dsainati1 @SupunS Can you please review and then merge this if it looks good? It will unblock #2803 for me. Thanks! |
Work towards #2929
For earlier discussions, please check - #2962
Description
This PR concretizes the definition of Primitive type by introducing a
IsPrimitiveType
function onsema.Type
.The following types have been marked as primitive:
Number
typesCharacter
Bool
String
Address
Path
Void
Optional<T>
- ifT
is primitivemaster
branchFiles changed
in the Github PR explorer