Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't parse unicode #401

Closed
r-barnes opened this issue Mar 29, 2021 · 2 comments
Closed

Can't parse unicode #401

r-barnes opened this issue Mar 29, 2021 · 2 comments

Comments

@r-barnes
Copy link
Contributor

I ask Pyre to type check a file including:

def foo(rhat=0.5, rtilde=0.2, μ=0.1, ν=0.1, T=8.0, P0=0.05, desired_dt=0.05):

and it returns

 ƛ Could not parse file at MirmiraniOster1978_single_season.py:3:30-3:30

It looks like it doesn't like the use of μ as a variable name, though that should be valid and Python 3.8.5 interprets it as such.

@JelleZijlstra
Copy link
Contributor

Duplicate of #254 I think

@dkgi
Copy link
Contributor

dkgi commented Mar 29, 2021

Will close in favor of the existing one. Our OCaml parser does not support unicode by default. We have plans to address this but they're not currently a priority :/

@dkgi dkgi closed this as completed Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants