1387 illegal reference to restricted type ''{0}''
1388
1389 # 0: name, 1: source
1390 compiler.err.restricted.type.not.allowed=\
1391 ''{0}'' not allowed here\n\
1392 as of release {1}, ''{0}'' is a restricted type name and cannot be used for type declarations
1393
1394 # 0: name, 1: source
1395 compiler.warn.restricted.type.not.allowed=\
1396 as of release {1}, ''{0}'' is a restricted type name and cannot be used for type declarations or as the element type of an array
1397
1398 # 0: name, 1: source
1399 compiler.warn.restricted.type.not.allowed.preview=\
1400 ''{0}'' may become a restricted type name in a future release and may be unusable for type declarations or as the element type of an array
1401
1402 # 0: name (variable), 1: message segment
1403 compiler.err.cant.infer.local.var.type=\
1404 cannot infer type for local variable {0}\n\
1405 ({1})
1406
1407 # 0: name
1408 compiler.err.restricted.type.not.allowed.here=\
1409 ''{0}'' is not allowed here
1410
1411 # 0: name
1412 compiler.err.restricted.type.not.allowed.array=\
1413 ''{0}'' is not allowed as an element type of an array
1414
1415 # 0: name
1416 compiler.err.restricted.type.not.allowed.compound=\
1417 ''{0}'' is not allowed in a compound declaration
1418
1419 # 0: fragment
1420 compiler.err.invalid.lambda.parameter.declaration=\
1421 invalid lambda parameter declaration\n\
1422 ({0})
1423
1424 compiler.misc.implicit.and.explicit.not.allowed=\
1425 cannot mix implicitly-typed and explicitly-typed parameters
1426
4111 compiler.err.deconstruction.pattern.var.not.allowed=\
4112 deconstruction patterns can only be applied to records, var is not allowed
4113
4114 # 0: list of type, 1: list of type
4115 compiler.err.incorrect.number.of.nested.patterns=\
4116 incorrect number of nested patterns\n\
4117 required: {0}\n\
4118 found: {1}
4119
4120 # 0: kind name, 1: symbol
4121 compiler.warn.declared.using.preview=\
4122 {0} {1} is declared using a preview feature, which may be removed in a future release.
4123
4124 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4125 attempt to synchronize on an instance of a value-based class
4126
4127 # 0: type
4128 compiler.err.enclosing.class.type.non.denotable=\
4129 enclosing class type: {0}\n\
4130 is non-denotable, try casting to a denotable type
|
1387 illegal reference to restricted type ''{0}''
1388
1389 # 0: name, 1: source
1390 compiler.err.restricted.type.not.allowed=\
1391 ''{0}'' not allowed here\n\
1392 as of release {1}, ''{0}'' is a restricted type name and cannot be used for type declarations
1393
1394 # 0: name, 1: source
1395 compiler.warn.restricted.type.not.allowed=\
1396 as of release {1}, ''{0}'' is a restricted type name and cannot be used for type declarations or as the element type of an array
1397
1398 # 0: name, 1: source
1399 compiler.warn.restricted.type.not.allowed.preview=\
1400 ''{0}'' may become a restricted type name in a future release and may be unusable for type declarations or as the element type of an array
1401
1402 # 0: name (variable), 1: message segment
1403 compiler.err.cant.infer.local.var.type=\
1404 cannot infer type for local variable {0}\n\
1405 ({1})
1406
1407 # 0: list of type
1408 compiler.err.cant.infer.quoted.lambda.return.type=\
1409 cannot infer return type for quoted lambda expression\n\
1410 (found: {0})
1411
1412 compiler.err.quoted.lambda.must.be.explicit=\
1413 Quoted lambda cannot have implicit parameter types
1414
1415 # 0: name
1416 compiler.err.restricted.type.not.allowed.here=\
1417 ''{0}'' is not allowed here
1418
1419 # 0: name
1420 compiler.err.restricted.type.not.allowed.array=\
1421 ''{0}'' is not allowed as an element type of an array
1422
1423 # 0: name
1424 compiler.err.restricted.type.not.allowed.compound=\
1425 ''{0}'' is not allowed in a compound declaration
1426
1427 # 0: fragment
1428 compiler.err.invalid.lambda.parameter.declaration=\
1429 invalid lambda parameter declaration\n\
1430 ({0})
1431
1432 compiler.misc.implicit.and.explicit.not.allowed=\
1433 cannot mix implicitly-typed and explicitly-typed parameters
1434
4119 compiler.err.deconstruction.pattern.var.not.allowed=\
4120 deconstruction patterns can only be applied to records, var is not allowed
4121
4122 # 0: list of type, 1: list of type
4123 compiler.err.incorrect.number.of.nested.patterns=\
4124 incorrect number of nested patterns\n\
4125 required: {0}\n\
4126 found: {1}
4127
4128 # 0: kind name, 1: symbol
4129 compiler.warn.declared.using.preview=\
4130 {0} {1} is declared using a preview feature, which may be removed in a future release.
4131
4132 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4133 attempt to synchronize on an instance of a value-based class
4134
4135 # 0: type
4136 compiler.err.enclosing.class.type.non.denotable=\
4137 enclosing class type: {0}\n\
4138 is non-denotable, try casting to a denotable type
4139
4140 ########################################
4141 # Diagnostics for code reflection
4142 ########################################
4143
4144 compiler.misc.feature.reflect.methods=\
4145 code reflection
4146
4147 # 0: symbol, 1: symbol, 2: string
4148 compiler.note.method.ir.dump=\
4149 code reflection enabled for method {0}.{1}\n\
4150 {2}
4151
4152 # 0: symbol, 1: symbol, 2: string
4153 compiler.note.method.ir.skip=\
4154 unsupported code reflection node {2} found in method {0}.{1}
4155
4156 # 0: string
4157 compiler.note.quoted.ir.dump=\
4158 code reflection enabled for method quoted lambda\n\
4159 {0}
4160
4161 # 0: string
4162 compiler.note.quoted.ir.skip=\
4163 unsupported code reflection node {0} found in quoted lambda
|