Don't update the type of the raw containers
author Sven Brauch
()
committer Sven Brauch
()
commit 16ee8ca07e75773e879d262621b9e74d9a44cfa2
tree 982751e40643504bb7d8ccb1e8b940b7a04c5758
parent ee61f4a1c3d4850d275adc059b719142c3d88f84
Don't update the type of the raw containers

This needs a proper fix tough, something like
[1, 2, 3].append("str")
would permanently add the string type to all lists.
This is because the type has not been assigned to a declaration
yet, and thus the original declaration is being updated.
duchain/declarationbuilder.cpp
duchain/tests/pyduchaintest.cpp