projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update ctf path test
[babeltrace.git]
/
formats
/
ctf
/
metadata
/
ctf-test
/
tofix
/
ctf-path.txt
diff --git
a/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt
b/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt
index fadbe9f0afb2ac03a5fc38616f2b24e12d26c5d6..ccfcbda1833427476a7c21a8ba0edfe8eacc5f79 100644
(file)
--- a/
formats/ctf/metadata/ctf-test/tofix/ctf-path.txt
+++ b/
formats/ctf/metadata/ctf-test/tofix/ctf-path.txt
@@
-49,17
+49,19
@@
event {
/*
* TODO: Deal with path name lookup conflict, e.g. if a field is
* named "stream", it conflicts with the stream dynamic scope.
/*
* TODO: Deal with path name lookup conflict, e.g. if a field is
* named "stream", it conflicts with the stream dynamic scope.
+ * Local fields hide dynamic scopes.
*/
struct {
enum select sel3
} stream;
*/
struct {
enum select sel3
} stream;
- /* The following test should fail: */
- /* variant var3 <stream.sel3> c; */
+ variant var3 <stream.sel3> c;
+ /* But now the following lookup should fail: */
+ /* variant var4 <stream.event.header.a> d; */
/*
* TODO: support conflict-free local-scoped tags, starting with
* ".".
*/
/*
* TODO: support conflict-free local-scoped tags, starting with
* ".".
*/
- variant var
4 <.stream.sel3> d
;
+ variant var
5 <.stream.sel3> e
;
};
};
};
};
This page took
0.023546 seconds
and
4
git commands to generate.