Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit fe1254e

Browse files
author
Mikhail Arkhipov
committed
Remove not implemented exception (#1982)
* Remove stale reference * Don't suppress LHS diagnostics on augmented assign * Revert "Don't suppress LHS diagnostics on augmented assign" This reverts commit 6109ac7. * Escape [ and ] * PR feedback * Remove exception (cherry picked from commit 94ae060)
1 parent 63253c3 commit fe1254e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Analysis/Ast/Impl/Types/Collections/PythonCollectionType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public override IMember Index(IPythonInstance instance, IArgumentSet args)
6767
=> (instance as IPythonCollection)?.Index(args) ?? UnknownType;
6868

6969
public IPythonType CreateSpecificType(IArgumentSet typeArguments) {
70-
throw new NotImplementedException();
70+
return this;
7171
}
7272

7373
#endregion

src/Parsing/Impl/Ast/TypeAnnotation.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ public TypeAnnotation(PythonLanguageVersion version, Expression expr) {
2727
Expression = expr ?? throw new ArgumentNullException(nameof(expr));
2828
}
2929

30-
public static TypeAnnotation FromType<T>(TypeAnnotationConverter<T> converter, T type) where T : class
31-
=> throw new NotImplementedException();
32-
3330
public PythonLanguageVersion LanguageVersion { get; }
3431
public Expression Expression { get; }
3532

0 commit comments

Comments
 (0)