Lichen

Changeset

741:c849a940b282
2017-03-17 Paul Boddie raw files shortlog changelog graph Removed probably inaccurate deduction of alias types based on provider details.
deducer.py (file)
     1.1 --- a/deducer.py	Fri Mar 17 00:29:49 2017 +0100
     1.2 +++ b/deducer.py	Fri Mar 17 00:59:21 2017 +0100
     1.3 @@ -1835,16 +1835,6 @@
     1.4                      if attr:
     1.5                          refs.update(self.convert_invocations([attr], invocation))
     1.6  
     1.7 -                    # Obtain provider information.
     1.8 -
     1.9 -                    elif self.provider_class_types.has_key(access_location):
    1.10 -                        class_types = self.provider_class_types[access_location]
    1.11 -                        instance_types = self.provider_instance_types[access_location]
    1.12 -                        module_types = self.provider_module_types[access_location]
    1.13 -
    1.14 -                        types = combine_types(class_types, instance_types, module_types)
    1.15 -                        refs.update(self.convert_invocation_providers(types, invocation))
    1.16 -
    1.17              # Record reference details for the alias separately from accessors.
    1.18  
    1.19              self.referenced_objects[accessor_location] = refs