In ConstraintSystem::performMemberLookup(), constructors with “simple” names 
have a dedicated lookup path. In contrast, constructors with compound names are 
handled by the normal lookup. If I delete this code and let the normal lookup 
path handle both simple and compound named constructors, I find that all 10,214 
validation tests pass on my machine (albeit with slightly different error 
messages in three test files).

Is the test suite missing a test for this code path and if so, what? Or should 
it be scheduled for deletion after identical error messages can be generated by 
the normal lookup path?

Dave
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to