Closed
Description
When compiling to Python with target set to any version above 3.x the type hints for functions and variables get wrapped in single quotes. This breaks functionality with some libraries which rely on type hints such as pydantic.
I first noticed it with Coconut: Version 1.4.1 [Ernest Scribbler] running on Python 3.7.4
but tested it out on the online interpreter with Python 3.3
3.4
3.5
and 3.6
with the same results.
Based on the documentation at https://coconut.readthedocs.io/en/master/DOCS.html#enhanced-type-annotation it looks like it should be possible to use standard 3.5
type annotation syntax.
For context I was originally testing to see if I could use coconut with fastapi.