You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Semantic checks for things the user shouldn't be able to write even as input to a metafunction can be done early, in `parse`
Other semantic checks go in `sema` so that metafunctions have more liberty to take otherwise-incomplete definitions and complete them with the metafunction's own defaults (or do things like remove a member and replace it with something else that is complete)
Describe the bug
The cppfront compiler terminates with an assertion failure when a type alias definition incorrectly uses
=
instead of==
.To Reproduce
Steps to reproduce the behavior:
The behaviour can be reproduced by trying to compile this code:
simple compilation without any additional command line arguments triggers the problem
A syntax error from the compiler
Additional context
Compiler explorer link: https://godbolt.org/z/6ceYTeMYP
The text was updated successfully, but these errors were encountered: