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

Improve type resolution of class constants. #5591

Merged
merged 1 commit into from
Apr 8, 2021

Commits on Apr 7, 2021

  1. Improve type resolution of class constants.

    Handle array plus operator (fixes vimeo#5588).
    Handle array spread operator.
    Improve string concatenation to resolve to literal instead of unknown string.
    
    I feel like it should be possible to let ConstantTypeResolver take advantage of
    the better type analysis in ArrayAnalyzer, ConcatAnalyzer, etc, but it would
    require a restructuring that's beyond me for the time being.
    AndrolGenhald committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    d2ed690 View commit details
    Browse the repository at this point in the history