Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improper_ctypes: only allow params in defns mode
This commit adjusts the behaviour introduced in a previous commit so that generic parameters and projections are only allowed in the definitions mode - and are otherwise a bug. Generic parameters in declarations are prohibited earlier in the compiler, so if that branch were reached, it would be a bug. Signed-off-by: David Wood <david@davidtw.co>
- Loading branch information