0
Not a bug

[W503] False positive when assigning DB field to another DB field

Uwe Schuster 10 years ago updated by Roman 10 years ago 5
Assigning a DB field to another DB field of the same dataset does lead to a false positive W503

DataSet.FieldByName('FIELD1').Text := DataSet.FieldByName('FIELD2').Text;

This might also apply to assigning an array property of an instance to another index of the same property and instance, but I haven't checked this, but this is something common. (e.g. list swap, exchange)
Cannot reproduce this :(
Could you please try to reproduce this bug with the latest version (2015.03)?
I can't repeat it either, so please close it.