You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: error if callable type is used in wrong context (#763)
Closes#713
### Summary of Changes
Callables are only supposed to be used as arguments to provide a clean
graphical view. Likewise, we now show an error if a callable type is
used for anything but a parameter.
Copy file name to clipboardexpand all lines: packages/safe-ds-lang/tests/resources/validation/experimental language feature/type argument lists/main.sdstest
+3
Original file line number
Diff line number
Diff line change
@@ -6,3 +6,6 @@ class MyClass1(p: MyClass1»<>«)
6
6
7
7
// $TEST$ no warning "Type argument lists & type arguments are experimental and may change without prior notice."
8
8
class MyClass2<T>(p: MyClass2<MyClass1»<>«>)
9
+
10
+
// $TEST$ no warning "Type argument lists & type arguments are experimental and may change without prior notice."
0 commit comments