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 fc62fb5 commit f304952Copy full SHA for f304952
source/classes.tex
@@ -3331,13 +3331,13 @@
3331
3332
\pnum
3333
\indextext{nested class!local class}%
3334
-If class \tcode{X} is a local class, a nested class \tcode{Y} may be
3335
-declared in class \tcode{X} and later defined in the definition of class
3336
-\tcode{X} or be later defined in the same scope as the definition of
3337
-class \tcode{X}.
3338
\indextext{restriction!local class}%
3339
A class nested within
3340
a local class is a local class.
+A member of a local class \tcode{X} shall be
+declared only in the definition of \tcode{X} or,
+if the member is a nested class,
+in the nearest enclosing block scope of \tcode{X}.
3341
3342
3343
\indextext{restriction!static member local class}%
0 commit comments