Commit f757934
committed
Make Controller_T covariant to allow overridding @command methods
e.g.
/workspaces/fastcs-eiger/src/fastcs_eiger/controllers/odin/eiger_odin_controller.py:28:15 - error: "arm_when_ready" overrides symbol of same name in class "EigerController"
"UnboundCommand[EigerOdinController]" is not assignable to "UnboundCommand[EigerController]"
Type parameter "Controller_T@UnboundCommand" is invariant, but "EigerOdinController" is not the same as "EigerController" (reportIncompatibleVariableOverride)1 parent 1512aaf commit f757934
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments