Commit Graph
1713 Commits
Author SHA1 Message Date
Anna Kozlova 65d35615df testdata for IDEA-139169 2015-12-02 15:42:02 +01:00
Anna Kozlova 43e825eef9 testdata for IDEA-139156 2015-12-02 15:42:02 +01:00
Anna Kozlova 414454d4b7 testdata for IDEA-139222 2015-12-02 15:42:02 +01:00
Anna Kozlova 6b52d3cd56 javac option to dump bounds to remember 2015-12-02 15:42:02 +01:00
Anna Kozlova 5ac3bde398 testdata for IDEA-148093 2015-12-02 15:42:02 +01:00
Anna Kozlova bb5f40c196 testdata for IDEA-134059 2015-12-02 15:42:02 +01:00
Anna Kozlova e6162ed1fa testdata for IDEA-148361 2015-12-02 15:42:02 +01:00
Anna Kozlova 5dad1d7009 new inference: process captured wildcard with array type bound 2015-12-02 10:57:27 +01:00
peter 29c3d7d756 IDEA-148666 Name of enclosing class is not shown for anonymous classes in 'Choose implementation' popup 2015-12-01 12:35:08 +01:00
Anna Kozlova f5228ff75b new inference: don't start inference if new expression contains type args (IDEA-148621) 2015-11-30 19:45:19 +01:00
Anna Kozlova 878ac5560e overload resolution: boxing should ignore null types (IDEA-148692) 2015-11-30 19:45:19 +01:00
Roman Shevchenko 2c2b27fc5d Cleanup (formatting; typos) 2015-11-30 18:32:01 +01:00
Dmitry Batrak b1f6d9b57f deprecate legacy scaling in performance tests 2015-11-30 11:58:49 +03:00
Anna Kozlova e740dbe245 testdata for IDEA-148553 2015-11-27 18:04:56 +01:00
Alexey Kudravtsev 9f30f929ba fix test in case of highlighting re-start 2015-11-27 15:30:50 +03:00
Anna Kozlova e43fad4277 captured wildcards: don't open unpredictably, treat as type, not type argument (IDEA-148348) 2015-11-26 19:23:09 +01:00
Alexey Kudravtsev aa32ce1e45 thread leaks fixed 2015-11-26 16:20:19 +03:00
Anna Kozlova 169b42916e new inference: don't treat void as primitive type to boxing 2015-11-25 12:25:02 +01:00
Anna Kozlova 952a9be315 additional testdata for nested lambda inference 2015-11-24 20:00:29 +01:00
Roman Shevchenko eb5890cc8f [java] nullability annotation copying logic restored; test added (IDEA-CR-6810) 2015-11-24 11:42:14 +01:00
Anna Kozlova 6bec6fdf0f testdata IDEA-131282 2015-11-20 21:47:13 +01:00
Anna Kozlova 61f120b30e new overload resolution: first check that collected methods are potentially compatible with args; for generic methods without specified type arguments this already means that they are applicable; for non generic methods (or raw method calls) expressions should be compatible with parameter types (formal parameter types = actual types as substitutor is known) (IDEA-147798) 2015-11-20 18:22:02 +01:00
Alexey Kudravtsev 2de269a6c3 testLineMarkersReuse fixed 2015-11-20 14:38:00 +03:00
Alexey Kudravtsev 22447d18eb more diagnostics 2015-11-19 17:18:07 +03:00
Alexey Kudravtsev 7ca6152627 more diagnostics 2015-11-19 15:04:44 +03:00
nik caf03a6c74 removed incorrect initialization of config paths in tests: if DaemonRespondToChangesTest was executed first it initialized shared static Application instance with its own temporary config path which was deleted when the test is finished causing all compiler tests to fail 2015-11-18 12:58:25 +03:00
Alexey Kudravtsev 4152c28fd6 diagnostics 2015-11-17 18:03:39 +03:00
Alexey Kudravtsev 9f98ff47c3 moved JSP-dependent test back to ultimate 2015-11-16 16:45:17 +03:00
Alexey Kudravtsev 70290391f9 moved to community 2015-11-16 13:31:16 +03:00
Anna Kozlova fcf8e6f373 move inference error from element to method candidate to avoid overload method pollution; show inference error in the editor if applicability check was successful; register inference error if variable has incompatible upper bounds (IDEA-145106) 2015-11-16 10:05:50 +01:00
Anna Kozlova cbbd0e4456 detect array initializer type based on short variable array notation (IDEA-147881) 2015-11-13 16:07:17 +01:00
Anna Kozlova e1f9d33a32 testdata for IDEA-147873 2015-11-13 16:07:17 +01:00
Dmitry Batkovich 6afbed569a quick fix which adds exception from field initializer to constructor signature (IDEA-142284) 2015-11-13 15:59:53 +03:00
Anna Kozlova 03d4334430 eliminate wildcards elimination in flattening intersection types (IDEA-143194); fully follow specification in determining target type - javac would be fixed (JDK-8142876), eclipse already obeys the spec 2015-11-12 20:14:15 +01:00
Anna Kozlova 44f26da2bc type arguments distinct checker: do not distinguish wildcards with array bounds from arrays with corresponding bounds (IDEA-134944) 2015-11-12 20:14:15 +01:00
Anna Kozlova e484d54fb8 missed usages of method references (IDEA-147828) 2015-11-12 12:36:59 +01:00
Anna Kozlova 59b55c3c00 new inference, incorporation step: ignore type arguments in bounds, retrieve upper bounds of captured wildcards (IDEA-145244) 2015-11-11 17:35:32 +01:00
Anna Kozlova a45937536a unchecked warnings: check inferred type against bounds for java > 1.8 (IDEA-147529) 2015-11-10 18:45:36 +01:00
Anna Kozlova 99338ada50 incorporation: deal with PsiType.NULL (IDEA-147529) 2015-11-10 18:45:36 +01:00
Anna Kozlova c29f92472e inferred type check for raw constraints (IDEA-147529) 2015-11-10 18:45:36 +01:00
Anna Kozlova c798f3ab6b inference variables: ensure variable is not mixed with type parameter for recursive calls (IDEA-147639) 2015-11-09 19:08:30 +01:00
Anna Kozlova 289aea179d isPertinentToApplicability: check class type parameters if constructor is called with diamonds (IDEA-147619) 2015-11-09 19:08:30 +01:00
Anna Kozlova 918e68fa70 revert test data 2015-11-06 20:36:47 +01:00
Anna Kozlova 911100e0b5 replace primitive == comparisons with .equals 2015-11-06 18:28:20 +01:00
Anna Kozlova a73d1238ff testdata for IDEA-147511 2015-11-06 16:21:29 +01:00
Anna Kozlova b52bf6b5c0 compare primitive types with equals as type annotations could spoil them (IDEA-147399) 2015-11-05 17:30:30 +01:00
Anna Kozlova 6e853bf571 new inference: stop at first common supertypes pair during incorporation of upper bounds (IDEA-147393) 2015-11-05 15:24:18 +01:00
Anna Kozlova 2d21b7777e method reference: don't start containing class parameter type inference for receiver-reference; corresponding substitutor should be already known (IDEA-146604; IDEA-147223) 2015-11-03 17:10:58 +01:00
Roman Shevchenko 6569cee283 [java] type element cache migrated to cached value (IDEA-147214, EA-74650) 2015-11-03 10:57:40 +01:00
Anna Kozlova 2494b5f632 test that PsiTYpeElementImpl doesn't clear cache on commit document (for Roman) 2015-11-02 15:29:42 +01:00