-
Notifications
You must be signed in to change notification settings - Fork 18
mark zsize and as_deftype as partial #199
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -197,7 +197,7 @@ def $size(numtype) : nat hint(show |%|) | |
| def $vsize(vectype) : nat hint(show |%|) | ||
| def $psize(packtype) : nat hint(show |%|) | ||
| def $lsize(lanetype) : nat hint(show |%|) | ||
| def $zsize(storagetype) : nat hint(show |%|) | ||
| def $zsize(storagetype) : nat hint(show |%|) hint(partial) | ||
| def $isize(Inn) : nat hint(show |%|) hint(inverse $inv_isize) | ||
| def $jsize(Jnn) : nat hint(show |%|) hint(inverse $inv_jsize) | ||
| def $fsize(Fnn) : nat hint(show |%|) hint(inverse $inv_fsize) | ||
|
|
@@ -297,7 +297,7 @@ def $diffrt((REF null_1? ht_1), (REF NULL ht_2)) = (REF ht_1) | |
| def $diffrt((REF null_1? ht_1), (REF ht_2)) = (REF null_1? ht_1) | ||
|
|
||
| ;; TODO(3, rossberg): Could this be inferable as a narrowing coercion? | ||
| def $as_deftype(typeuse) : deftype hint(show %) | ||
| def $as_deftype(typeuse) : deftype hint(show %) hint(partial) | ||
| def $as_deftype(dt) = dt | ||
|
|
||
|
|
||
|
|
@@ -494,13 +494,13 @@ def $free_comptype(comptype) : free | |
| def $free_subtype(subtype) : free | ||
| def $free_rectype(rectype) : free | ||
|
|
||
| def $free_tagtype(tagtype) : free | ||
| def $free_tagtype(tagtype) : free hint(partial) | ||
| def $free_globaltype(globaltype) : free | ||
| def $free_memtype(memtype) : free | ||
| def $free_tabletype(tabletype) : free | ||
| def $free_datatype(datatype) : free | ||
| def $free_elemtype(elemtype) : free | ||
| def $free_externtype(externtype) : free | ||
| def $free_externtype(externtype) : free hint(partial) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. |
||
| def $free_moduletype(moduletype) : free | ||
|
|
||
|
|
||
|
|
||
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
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.
Ah, this is annoying. I think we should rather add the missing cases to free_deftype.