diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-30 15:28:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-30 15:28:07 +0200 |
commit | ed79e798327c9d18c2b5b2dfea8ad98b4d69f883 (patch) | |
tree | 0b10baec0f9a9ea466ff782a7cbb4fdd2973a031 /build/target.ixx | |
parent | d5e4d325c6a4acc8df6f0e42bc7d76e1f833d58a (diff) |
Tighten unresolved group logic
Now a wildcard/fallback rule should explicitly detect and handle unresolved
situation.
Diffstat (limited to 'build/target.ixx')
-rw-r--r-- | build/target.ixx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build/target.ixx b/build/target.ixx index 3d48904..6bcd265 100644 --- a/build/target.ixx +++ b/build/target.ixx @@ -50,8 +50,11 @@ namespace build // Switch to member iteration mode. // - if (i_ != r_->e_ && i_->get ().type.see_through) - switch_members (); + if (r_->members_ && i_ != r_->e_ && i_->get ().type.see_through) + { + bool r (switch_members ()); + assert (r); // Group could not be resolved. + } return *this; } |