about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBrian Koropoff <bkoropoff@gmail.com>2014-10-16 19:03:29 -0700
committerBrian Koropoff <bkoropoff@gmail.com>2014-10-16 19:03:29 -0700
commit90bf7cdd79f3efb8695909240ff927024c42fce4 (patch)
tree040f2ae84fced27c547ef5450dbc4b783ae57cac /src/rustllvm/RustWrapper.cpp
parent1868a262f36a57fa6bac96c2f173129c57d4e62f (diff)
downloadrust-90bf7cdd79f3efb8695909240ff927024c42fce4.tar.gz
rust-90bf7cdd79f3efb8695909240ff927024c42fce4.zip
Fix ICE in overloaded call with incorrect arity
When an overloaded call expression has parameters but the function
object takes none, construct an array of formal argument types with
the arity of the call expression so that we don't fail by indexing out
of bounds later.

Closes #16939
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions