We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3231e81 commit 37d46b0Copy full SHA for 37d46b0
source/modules.tex
@@ -1048,7 +1048,6 @@
1048
\end{codeblocktu}
1049
1050
\begin{codeblocktu}{Translation unit \#5}
1051
-module X;
1052
import M;
1053
B b3; // error: no reachable definition of \tcode{struct B}
1054
void g() { f(); } // error: no reachable definition of \tcode{struct B}
@@ -1069,7 +1068,6 @@
1069
1068
1070
1071
\begin{codeblocktu}{Translation unit \#2}
1072
-module B;
1073
import A;
1074
Y y; // OK, definition of \tcode{X} is reachable
1075
X x; // error: \tcode{X} not visible to unqualified lookup
0 commit comments