Tokamak/Sources/TokamakCore/Reflection/Metadata
Max Desiatov d75b185553
Add checks for metadata state (#375)
* Add checks for metadata state

Type metadata actually *is* mutable, is updated by the runtime, and we need to be careful when reading from it.

* Add a precondition for type metadata state

* Replace `precondition` with an `assert`

* Add missing license headers
2021-02-01 10:02:49 +00:00
..
Metadata.swift Clean up metadata reflection code (#372) 2021-01-27 18:24:04 +00:00
MetadataState.swift Add checks for metadata state (#375) 2021-02-01 10:02:49 +00:00
StructMetadata.swift Add checks for metadata state (#375) 2021-02-01 10:02:49 +00:00