[ 
https://issues.apache.org/jira/browse/BEAM-8525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Udi Meiri updated BEAM-8525:
----------------------------
    Fix Version/s:     (was: 2.19.0)
                   2.20.0

> trivial_inference: slice of Const[List[T]] returns T instead of List[T]
> -----------------------------------------------------------------------
>
>                 Key: BEAM-8525
>                 URL: https://issues.apache.org/jira/browse/BEAM-8525
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Udi Meiri
>            Assignee: Udi Meiri
>            Priority: Major
>             Fix For: 2.20.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Bug is in binary_subscr.
> Example (in trivial_inference_test.py):
> {code}
>   def testGetItemSlice(self):
>     test_list = ['a', 'b']
>     self.assertReturnType(typehints.List[str], lambda: test_list[:], [])
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to