Skip to content

Commit

Permalink
eval-free reconstructed types (#476)
Browse files Browse the repository at this point in the history
* eval-free reconstructed types

* ambiguity hack

* fix forgotten type change

* change dispatch

* getproperty forwarding

* more unknown type improvements

* fix test

* missing show and wrong check

* avoid invalidation

* invalidation v2

* propertynames & changelog

---------

Co-authored-by: Jonas Isensee <[email protected]>
  • Loading branch information
JonasIsensee and Jonas Isensee authored Jul 26, 2023
1 parent 0198f19 commit 6e36daa
Show file tree
Hide file tree
Showing 8 changed files with 1,167 additions and 107 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.35
- fix `Upgrade` for parametric types
- new type reconstruction when matching DataType cannot be found (eval-free)

## 0.4.32
- add experimental `JLD2.readas` function for customized reading of custom serialized objects (#468)

Expand Down
2 changes: 1 addition & 1 deletion src/backwards_compatibility.jl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function _julia_type(s::AbstractString)
end
end
if typ == UnconvertedType || typ == UnsupportedType
return UnknownType(s)
return UnknownType{Symbol(s), Tuple{}}
else
return typ
end
Expand Down
Loading

0 comments on commit 6e36daa

Please sign in to comment.