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

Lexer crash with illegal instruction when parsing swift file with very long integers #67

Open
notorca opened this issue Dec 7, 2017 · 2 comments

Comments

@notorca
Copy link

notorca commented Dec 7, 2017

I'm trying to parse tests form upstream swift repository and with swift-ast and found a crash of files https://github.com/apple/swift/blob/master/test/SILOptimizer/diagnostic_constant_propagation_int.swift and https://github.com/apple/swift/blob/master/test/SILOptimizer/diagnostic_constant_propagation.swift
This files are also attached in the archive.

@dohuutamhuy
Copy link

I'm having the same problem when try to parse this file:
https://github.com/jpsim/Yams/blob/master/Tests/YamsTests/ConstructorTests.swift
Is there a fix for this or a way to work around?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants