Whitelist es6/map.js in BanUnknownTypedClassPropsReferences to work around bug where constructor-defined record fields are showing up as unknown.
@@ -1270,7 +1270,8 @@ public final class ConformanceRules {
// TODO(tbreisacher): Figure out how to remove this restriction.
String filename = n.getSourceFileName();
return (filename != null
- && (filename.contains("synthetic:es6/weakmap")
+ && (filename.contains("synthetic:es6/map")
+ || filename.contains("synthetic:es6/weakmap")
|| filename.contains("synthetic:es6/weakset")
|| filename.contains("synthetic:runtime_type_check")));
}
