Allow to use "static" part of class in own constructors by short name, including in primary constructor
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
class A<T : <!UNRESOLVED_REFERENCE!>Nested<!>, F: <!UNRESOLVED_REFERENCE!>Inner<!>, G: <!UNRESOLVED_REFERENCE!>Interace<!>> {
|
||||
|
||||
class Nested
|
||||
|
||||
inner class Inner
|
||||
|
||||
interface Interface
|
||||
}
|
||||
|
||||
class B<T, F, G> where T : <!UNRESOLVED_REFERENCE!>Nested<!>, F: <!UNRESOLVED_REFERENCE!>Inner<!>, G: <!UNRESOLVED_REFERENCE!>Interace<!> {
|
||||
|
||||
class Nested
|
||||
|
||||
inner class Inner
|
||||
|
||||
interface Interface
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user