@@ -335,16 +335,16 @@ use_cycle_package/foo.rb:13: Unable to resolve constant `Test` https://srb.help/
335335 NN |module Net
336336 ^^^^^^^^^^
337337
338- use_cycle_package/foo.test.rb:4: `Test::Foo::Bar::CyclePackage::TestUtil` resolves but its package is not imported https://srb.help/3718
338+ use_cycle_package/foo.test.rb:4: Unable to resolve constant `Bar` https://srb.help/5002
339339 4 | Test::Foo::Bar::CyclePackage::TestUtil
340- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
341- cycle_package/__package.rb:5: Exported from package here
342- 5 |class Foo::Bar::CyclePackage < PackageSpec
343- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
340+ ^^^^^^^^^^^^^^
344341 Autocorrect: Done
345- use_cycle_package/__package.rb:7: Inserted `test_import Foo::Bar::CyclePackage, only: "test_rb"`
346- 7 | strict_dependencies 'layered_dag'
347- ^
342+ use_cycle_package/foo.test.rb:4: Replaced with `Dir`
343+ 4 | Test::Foo::Bar::CyclePackage::TestUtil
344+ ^^^^^^^^^^^^^^
345+ https://github.com/sorbet/sorbet/tree/master/rbi/core/dir.rbi#LCENSORED: `Dir` defined here
346+ NN |class Dir < Object
347+ ^^^^^^^^^^^^^^^^^^
348348Errors: 4
349349# frozen_string_literal: true
350350# typed: strict
@@ -353,7 +353,6 @@ Errors: 4
353353class Foo::MyPackage < PackageSpec
354354 layer 'lib'
355355 strict_dependencies 'layered_dag'
356- test_import Foo::Bar::CyclePackage, only: "test_rb"
357356 test_import Foo::Bar::CyclePackageTest
358357end
359358
@@ -399,16 +398,16 @@ use_app_cycle_package/foo.rb:13: Unable to resolve constant `Test` https://srb.h
399398 NN |module Net
400399 ^^^^^^^^^^
401400
402- use_app_cycle_package/foo.test.rb:4: `Test::Foo::Bar::AppCyclePackage::TestUtil` resolves but its package is not imported https://srb.help/3718
401+ use_app_cycle_package/foo.test.rb:4: Unable to resolve constant `Bar` https://srb.help/5002
403402 4 | Test::Foo::Bar::AppCyclePackage::TestUtil
404- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
405- app_cycle_package/__package.rb:5: Exported from package here
406- 5 |class Foo::Bar::AppCyclePackage < PackageSpec
407- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
408- Autocorrect: Done
409- use_app_cycle_package/__package.rb:7: Inserted `test_import Foo::Bar::AppCyclePackage, only: "test_rb"`
410- 7 | strict_dependencies 'layered_dag'
411- ^
403+ ^^^^^^^^^^^^^^
404+ Autocorrect: Done
405+ use_app_cycle_package/foo.test.rb:4: Replaced with `Dir`
406+ 4 | Test::Foo::Bar::AppCyclePackage::TestUtil
407+ ^^^^^^^^^^^^^^
408+ https://github.com/sorbet/sorbet/tree/master/rbi/core/dir.rbi#LCENSORED: `Dir` defined here
409+ NN |class Dir < Object
410+ ^^^^^^^^^^^^^^^^^ ^
412411Errors: 4
413412# frozen_string_literal: true
414413# typed: strict
@@ -417,7 +416,6 @@ Errors: 4
417416class Foo::MyPackage < PackageSpec
418417 layer 'lib'
419418 strict_dependencies 'layered_dag'
420- test_import Foo::Bar::AppCyclePackage, only: "test_rb"
421419 test_import Foo::Bar::AppCyclePackageTest
422420end
423421
@@ -463,16 +461,16 @@ use_false_cycle_package/foo.rb:13: Unable to resolve constant `Test` https://srb
463461 NN |module Net
464462 ^^^^^^^^^^
465463
466- use_false_cycle_package/foo.test.rb:4: `Test::Foo::Bar::FalseCyclePackage::TestUtil` resolves but its package is not imported https://srb.help/3718
464+ use_false_cycle_package/foo.test.rb:4: Unable to resolve constant `Bar` https://srb.help/5002
467465 4 | Test::Foo::Bar::FalseCyclePackage::TestUtil
468- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
469- false_cycle_package/__package.rb:5: Exported from package here
470- 5 |class Foo::Bar::FalseCyclePackage < PackageSpec
471- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
472- Autocorrect: Done
473- use_false_cycle_package/__package.rb:7: Inserted `test_import Foo::Bar::FalseCyclePackage, only: "test_rb"`
474- 7 | strict_dependencies 'layered_dag'
475- ^
466+ ^^^^^^^^^^^^^^
467+ Autocorrect: Done
468+ use_false_cycle_package/foo.test.rb:4: Replaced with `Dir`
469+ 4 | Test::Foo::Bar::FalseCyclePackage::TestUtil
470+ ^^^^^^^^^^^^^^
471+ https://github.com/sorbet/sorbet/tree/master/rbi/core/dir.rbi#LCENSORED: `Dir` defined here
472+ NN |class Dir < Object
473+ ^^^^^^^^^^^^^^^^^ ^
476474Errors: 4
477475# frozen_string_literal: true
478476# typed: strict
@@ -481,7 +479,6 @@ Errors: 4
481479class Foo::MyPackage < PackageSpec
482480 layer 'lib'
483481 strict_dependencies 'layered_dag'
484- test_import Foo::Bar::FalseCyclePackage, only: "test_rb"
485482 test_import Foo::Bar::FalseCyclePackageTest
486483end
487484
@@ -527,16 +524,16 @@ use_app_false_cycle_package/foo.rb:13: Unable to resolve constant `Test` https:/
527524 NN |module Net
528525 ^^^^^^^^^^
529526
530- use_app_false_cycle_package/foo.test.rb:4: `Test::Foo::Bar::AppFalseCyclePackage::TestUtil` resolves but its package is not imported https://srb.help/3718
527+ use_app_false_cycle_package/foo.test.rb:4: Unable to resolve constant `Bar` https://srb.help/5002
531528 4 | Test::Foo::Bar::AppFalseCyclePackage::TestUtil
532- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
533- app_false_cycle_package/__package.rb:5: Exported from package here
534- 5 |class Foo::Bar::AppFalseCyclePackage < PackageSpec
535- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
536- Autocorrect: Done
537- use_app_false_cycle_package/__package.rb:7: Inserted `test_import Foo::Bar::AppFalseCyclePackage, only: "test_rb"`
538- 7 | strict_dependencies 'layered_dag'
539- ^
529+ ^^^^^^^^^^^^^^
530+ Autocorrect: Done
531+ use_app_false_cycle_package/foo.test.rb:4: Replaced with `Dir`
532+ 4 | Test::Foo::Bar::AppFalseCyclePackage::TestUtil
533+ ^^^^^^^^^^^^^^
534+ https://github.com/sorbet/sorbet/tree/master/rbi/core/dir.rbi#LCENSORED: `Dir` defined here
535+ NN |class Dir < Object
536+ ^^^^^^^^^^^^^^^^^ ^
540537Errors: 4
541538# frozen_string_literal: true
542539# typed: strict
@@ -545,6 +542,5 @@ Errors: 4
545542class Foo::MyPackage < PackageSpec
546543 layer 'lib'
547544 strict_dependencies 'layered_dag'
548- test_import Foo::Bar::AppFalseCyclePackage, only: "test_rb"
549545 test_import Foo::Bar::AppFalseCyclePackageTest
550546end
0 commit comments