Skip to content

Commit

Permalink
Decided I care enough about the overloading+inference+coercion question
Browse files Browse the repository at this point in the history
to actually encode my concern in the form of an unresolved question.
  • Loading branch information
pnkfelix committed Feb 9, 2015
1 parent f6df740 commit 2880173
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion text/0000-box-and-in-for-stdlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,18 @@ tandem with types provided by the stdlib, such as `Box<T>`.

# Unresolved questions

None
* Can the type-inference and coercion system of the compiler be
enriched to the point where overloaded `box` and `in` are
seamlessly usable? Or are type-ascriptions unavoidable when
supporting overloading?

In particular, I am assuming here that some amount of current
weakness cannot be blamed on any particular details of the
sample desugaring.

(See [Appendix B] for example code showing weaknesses in
`rustc` of today.)


# Appendices

Expand Down

0 comments on commit 2880173

Please sign in to comment.