common.py | raw changeset files shortlog |
1.1 --- a/common.py Tue Dec 06 22:58:16 2016 +0100 1.2 +++ b/common.py Wed Dec 07 01:05:36 2016 +0100 1.3 @@ -227,7 +227,7 @@ 1.4 # Return a reference for the constant. 1.5 1.6 objpath = self.get_object_path(constant_name) 1.7 - name_ref = ConstantValueRef(constant_name, ref.instance_of(), value) 1.8 + name_ref = ConstantValueRef(constant_name, ref.instance_of(objpath), value) 1.9 1.10 # Record the value and type for the constant. 1.11