94 allowGraphInference = Source.instance(context).allowGraphInference() |
94 allowGraphInference = Source.instance(context).allowGraphInference() |
95 && options.isUnset("useLegacyInference"); |
95 && options.isUnset("useLegacyInference"); |
96 } |
96 } |
97 |
97 |
98 /** A value for prototypes that admit any type, including polymorphic ones. */ |
98 /** A value for prototypes that admit any type, including polymorphic ones. */ |
99 public static final Type anyPoly = new Type(NONE, null); |
99 public static final Type anyPoly = new JCNoType(); |
100 |
100 |
101 /** |
101 /** |
102 * This exception class is design to store a list of diagnostics corresponding |
102 * This exception class is design to store a list of diagnostics corresponding |
103 * to inference errors that can arise during a method applicability check. |
103 * to inference errors that can arise during a method applicability check. |
104 */ |
104 */ |