par-util.adb
22.7 KB
-
restrict.adb, [...]: Remove redundant type conversion. · b90cfacd
2007-08-31 Hristian Kirtchev <kirtchev@adacore.com> * restrict.adb, namet.adb, par-util.adb: Remove redundant type conversion. * sem_res.adb (Resolve_Qualified_Expression): Add machinery to detect simple redundant qualifications. The check is performed whenever the expression is a non-overloaded identifier. (Resolve_Type_Conversion): Enchance the redundant type conversion check to include loop parameters. (Valid_Conversion): Avoid generation of spurious error message. From-SVN: r127976
Hristian Kirtchev committed