Skip to content

Commit 805a253

Browse files
committed
sourcegraph#91 - adds reproducible test cases and fixes
1 parent eed38b8 commit 805a253

File tree

44 files changed

+424
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+424
-0
lines changed

packages/pyright-scip/snapshots/input/nested_item__fix_no_import/src/__init__.py

Whitespace-only changes.

packages/pyright-scip/snapshots/input/nested_item__fix_no_import/src/foo/__init__.py

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class InitClass:
2+
init_item = 10
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class SuchNestedMuchWow:
2+
class_item: int = 42
3+
4+
class AnotherNestedMuchWow:
5+
other_item: int = 42

packages/pyright-scip/snapshots/input/nested_item__fix_qualified_imports/src/__init__.py

Whitespace-only changes.

packages/pyright-scip/snapshots/input/nested_item__fix_qualified_imports/src/foo/__init__.py

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class InitClass:
2+
init_item = 10
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class SuchNestedMuchWow:
2+
class_item: int = 42
3+
4+
class AnotherNestedMuchWow:
5+
other_item: int = 42
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from src.foo.bar import InitClass
2+
from src.foo.bar.baz.mod import SuchNestedMuchWow, AnotherNestedMuchWow
3+
4+
print(SuchNestedMuchWow().class_item)
5+
print(AnotherNestedMuchWow().other_item)
6+
print(InitClass().init_item)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import src.foo.bar.baz.mod
2+
3+
print(src.foo.bar.baz.mod.SuchNestedMuchWow)

0 commit comments

Comments
 (0)