发明名称 TYPE INFERENCE OF GENERIC TYPE PARAMETERS IN OVERLOADED FUNCTIONS USING TYPE INTERVALS AND INFERENCE DIRECTIONS
摘要 The disclosed embodiments provide a system that facilitates the development and execution of a software program. During operation, the system obtains a type interval for a generic type parameter of an implementation of an overloaded function. Next, the system selects an inference direction for the generic type parameter based on a variance of the generic type parameter, wherein the inference direction is an upward inference direction or a downward inference direction. Finally, the system uses the type interval and the inference direction to perform type inference on the generic type parameter.
申请公布号 US2014068574(A1) 申请公布日期 2014.03.06
申请号 US201213601766 申请日期 2012.08.31
申请人 NADEN KARL B.;CHASE DAVID R.;HILBURN JUSTIN R.;ORACLE INTERNATIONAL CORPORATION 发明人 NADEN KARL B.;CHASE DAVID R.;HILBURN JUSTIN R.
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址