Check that module names correspond to the paths they are defined in

Closes #3440
Closes #4050
This commit is contained in:
Ayaz Hafiz 2022-09-28 10:22:58 -05:00
parent 5eda218302
commit c67be21636
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
5 changed files with 108 additions and 3 deletions

View file

@ -126,6 +126,8 @@ pub enum EHeader<'a> {
AppName(EString<'a>, Position),
PlatformName(EPackageName<'a>, Position),
IndentStart(Position),
InconsistentModuleName(Region),
}
#[derive(Debug, Clone, PartialEq, Eq)]