Non-constant type asserts are not yet implemented, but should be relatively easy to add at a later time. They should result in a clear error message for now.