⭐️ A friendly language for building type-safe, scalable systems!

Added ShadowedImport Warning

authored by Aayush and committed by Louis Pilfold 18080337 75e17594

Changed files
+1 -2
compiler-core
src
type_
+1 -2
compiler-core/src/type_/error.rs
··· 1018 1018 1019 1019 /// Top-level definition should not shadow an imported one. 1020 1020 /// This includes constant or function imports. 1021 - TopLevelDefinitionShadowsImport{ 1021 + TopLevelDefinitionShadowsImport { 1022 1022 location: SrcSpan, 1023 1023 name: EcoString, 1024 1024 }, ··· 1251 1251 | Warning::ModuleImportedTwice { 1252 1252 second: location, .. 1253 1253 } => *location, 1254 - 1255 1254 } 1256 1255 } 1257 1256