diff test/module.mk @ 23838:6e0fd7e3c262

Fix argument lookup in '+' package functions (Bug #51532). * pt-eval.cc (tree_evaluator::visit_index_expression): Check to see if the expression is a package. If it is, then indexing_object should be false. * ov.h, ov-base.h, ov-classdef.cc (is_package): New method for checking if object is a package. It passes information from cdef_meta_object. * test/module.mk, test/bug-51532/module.mk, test/+package_bug51532/foo.m, test/bug-51532.tst: Added test for the bug.
author Piotr Held <pjheld@gmail.com>
date Mon, 07 Aug 2017 15:05:19 -0700
parents 9f31de57ad36
children ff893e26aeeb
line wrap: on
line diff
--- a/test/module.mk	Mon Aug 07 08:29:39 2017 -0700
+++ b/test/module.mk	Mon Aug 07 15:05:19 2017 -0700
@@ -57,10 +57,11 @@
 include %reldir%/bug-50035/module.mk
 include %reldir%/bug-50716/module.mk
 include %reldir%/bug-51192/module.mk
+include %reldir%/bug-51532/module.mk
 include %reldir%/bug-51599/module.mk
 include %reldir%/class-concat/module.mk
+include %reldir%/classdef/module.mk
 include %reldir%/classdef-multiple-inheritance/module.mk
-include %reldir%/classdef/module.mk
 include %reldir%/classes/module.mk
 include %reldir%/ctor-vs-method/module.mk
 include %reldir%/fcn-handle-derived-resolution/module.mk