@@ -5576,9 +5576,12 @@ import T
55765576==
55775577main:4: error: "C" expects no type arguments, but 1 given
55785578main:4: error: Module "T" is not valid as a type
5579+ main:4: note: Perhaps you meant to use a protocol matching the module structure?
55795580main:6: error: Free type variable expected in Generic[...]
55805581main:7: error: Module "T" is not valid as a type
5582+ main:7: note: Perhaps you meant to use a protocol matching the module structure?
55815583main:10: error: Module "T" is not valid as a type
5584+ main:10: note: Perhaps you meant to use a protocol matching the module structure?
55825585main:10: error: Bad number of arguments for type alias, expected: 0, given: 1
55835586
55845587[case testChangeClassToModule]
@@ -5602,8 +5605,10 @@ import C
56025605==
56035606==
56045607main:3: error: Module "C" is not valid as a type
5608+ main:3: note: Perhaps you meant to use a protocol matching the module structure?
56055609main:5: error: Module not callable
56065610main:8: error: Module "C" is not valid as a type
5611+ main:8: note: Perhaps you meant to use a protocol matching the module structure?
56075612
56085613[case testChangeTypeVarToTypeAlias]
56095614
@@ -5653,8 +5658,10 @@ import D
56535658==
56545659==
56555660main:3: error: Module "D" is not valid as a type
5661+ main:3: note: Perhaps you meant to use a protocol matching the module structure?
56565662main:5: error: Module not callable
56575663main:8: error: Module "D" is not valid as a type
5664+ main:8: note: Perhaps you meant to use a protocol matching the module structure?
56585665
56595666[case testChangeTypeAliasToModuleUnqualified]
56605667
@@ -5680,8 +5687,10 @@ import D
56805687==
56815688==
56825689main:3: error: Module "D" is not valid as a type
5690+ main:3: note: Perhaps you meant to use a protocol matching the module structure?
56835691main:5: error: Module not callable
56845692main:8: error: Module "D" is not valid as a type
5693+ main:8: note: Perhaps you meant to use a protocol matching the module structure?
56855694
56865695[case testChangeFunctionToVariableAndRefreshUsingStaleDependency]
56875696import a
0 commit comments