X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Fmetadata%2Fctf-test%2Ftofix%2Fctf-path.txt;h=ccfcbda1833427476a7c21a8ba0edfe8eacc5f79;hp=fadbe9f0afb2ac03a5fc38616f2b24e12d26c5d6;hb=8a9a5dfef0e45118b5735ee444f56247a0cc0e02;hpb=7fb16836741fe11151da258ad2c93b486e3acfbe diff --git a/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt b/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt index fadbe9f0..ccfcbda1 100644 --- 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. + * Local fields hide dynamic scopes. */ struct { enum select sel3 } stream; - /* The following test should fail: */ - /* variant var3 c; */ + variant var3 c; + /* But now the following lookup should fail: */ + /* variant var4 d; */ /* * TODO: support conflict-free local-scoped tags, starting with * ".". */ - variant var4 <.stream.sel3> d; + variant var5 <.stream.sel3> e; }; };