kamahen / pykythe

Generate code Python source cross-reference facts in Kythe format
Other
21 stars 3 forks source link

Doesn't handle listmaker, dictsetmaker #15

Open kamahen opened 5 years ago

kamahen commented 5 years ago

There's no type inferencing here:

d = {i, str(i) for i in range(0, 5)}
print(d[1].capitalize())

doesn't resolve capitalize

kamahen commented 5 years ago

This is mostly working, but there's a bug with this code:

def foo():
    x = []
    x = [x, x]

which leads to a circular type. Currently, there's a work-around so that pykythe doesn't crash.