Commit 69138481 authored by Jack Koenig's avatar Jack Koenig
Browse files

Make it possible to illegalize .asUInt on OpaqueTypes

Subclasses of OpaqueType can override errorOnAsUInt to make it an
elaboration time error if .asUInt is called on an instance of the
particular type (including when nested inside of an Aggregate). This
closes a large loophole in the OpaqueType API.
parent a53458ee
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment