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

SI-8061 Do not mutate List in Types.scala #3252

Closed
wants to merge 1 commit into from

Commits on Dec 10, 2013

  1. SI-8061 Do not mutate List in Types.scala

      In src/reflect/scala/reflect/internal/Types.scala, change the
      findMember method's algorithm to use the public List API.
      Prior to this change, the method built a list of matching members
      by appending matching symbols and mutating the tail.
      This change builds up the maching list by prepending instead,
      and reverses the result at the end.
    Scott Carey committed Dec 10, 2013
    Configuration menu
    Copy the full SHA
    24c1290 View commit details
    Browse the repository at this point in the history