diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-03 12:09:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-03 12:09:34 +0200 |
commit | 450c907b2a10c43748b8c15df20d92ff782269c7 (patch) | |
tree | 42f3faa065a02b9425d6b6c4d374178efa5fd769 /libbuild2/file.cxx | |
parent | 920ed11a433b0e292a18adb8c68829a00e8c70cc (diff) |
Add clarifying comment
Diffstat (limited to 'libbuild2/file.cxx')
-rw-r--r-- | libbuild2/file.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx index bf97ea7..4c7e6d9 100644 --- a/libbuild2/file.cxx +++ b/libbuild2/file.cxx @@ -1520,7 +1520,12 @@ namespace build2 if (t != nullptr) { if (const file* f = t->is_a<file> ()) + { + // Note that this can happen if we import the same target via two + // different ways (e.g., installed and via an export stub). + // assert (f->path () == p); + } } return t; |