Commit Graph

17099 Commits

Author SHA1 Message Date
develar f43e6d272a simplify AST 2012-10-25 17:41:41 +04:00
Andrey Breslav 2ea56a1c3c Errors re-ordered: some classification introduced 2012-10-25 17:10:09 +04:00
Andrey Breslav 55cd9246ad The only non-constant strategy made a constant (for readability) 2012-10-25 17:10:09 +04:00
Andrey Breslav 71ea3f7330 Unused errors removed 2012-10-25 17:10:09 +04:00
Andrey Breslav b5385788a3 Don't generate UNNECESSARY_SAFE_CALL on variables of generic type <T: Any?> 2012-10-25 17:05:28 +04:00
Andrey Breslav 3e38870ecc KT-2991 Don't generate UNNECESSARY_NOT_NULL_ASSERTION on variables of
generic type T:Any?

 #KT-2991 Fixed
2012-10-25 17:05:27 +04:00
Sergey Mashkov edb8797fa6 KT-2987 java.lang.AbstractMethodError/java.lang.NoSuchMethodError for delegated class by parameterized parent
#KT-2987 Fixed
2012-10-25 16:26:58 +04:00
James Strachan c843d23416 allow the maven plugin to have its source directories to be configured on a per execution basis (e.g. so that you can have different directories for JS compilation as to JVM based compilation). Its a shame to require 2 fields for configuration; but tried all other permutations I could think of but could not figure out a cleaner way -better approaches welcome! :) 2012-10-25 10:57:31 +01:00
develar b5a3fbeca4 simplify AST (idea like) 2012-10-25 10:17:03 +04:00
develar c1cc409b29 simplify AST (idea like) 2012-10-25 10:11:32 +04:00
develar 6307201006 simplify AST (idea like) 2012-10-25 09:52:19 +04:00
develar 2710fc5284 simplify AST (idea like) 2012-10-25 09:44:26 +04:00
develar ca016fcb32 simplify AST (idea like) 2012-10-25 09:43:19 +04:00
develar d23bca091e simplify AST (idea like) 2012-10-25 09:34:01 +04:00
develar 4b2c170c00 simplify AST (idea like) 2012-10-25 09:27:11 +04:00
develar c41bf918bf simplify AST (idea like) 2012-10-25 08:42:06 +04:00
James Strachan 3043577949 temporarily enforce jdk 1.6 in the maven build to provide a non-confusing compile error message if someone accidentally tries to build on JDK 7 which does not yet work (see KT-2988) 2012-10-24 09:23:32 +01:00
James Strachan ef0c8ab162 added explicit source plugin version 2012-10-24 09:08:07 +01:00
Natalia.Ukhorskaya cacb2a6761 Change tooltip message for deprecated items 2012-10-24 11:56:43 +04:00
develar a5b212e975 JsFor constructors 2012-10-24 11:36:21 +04:00
Natalia.Ukhorskaya 4db732c11b KT-2948 Assertion fails on a local enum
#KT-2948 Fixed
2012-10-23 19:23:16 +04:00
develar 536803e314 KT-2986 2012-10-23 18:57:54 +04:00
Evgeny Gerashchenko 91bbd7378e Added TODOs in ConfigureKotlinLibraryNotificationProvider to make it easier to migrate to newer IDEA. 2012-10-23 18:06:16 +04:00
Evgeny Gerashchenko 38a27b3e6b KT-2169 "Specify type" fix should be accessible for the whole function signature
#KT-2169 fixed
2012-10-23 18:06:16 +04:00
Evgeny Gerashchenko 0c43e77ac0 Minor. Fixed references to KotlinBuiltIns.UNIT_ALIAS. 2012-10-23 18:06:16 +04:00
Evgeny Gerashchenko 1817b3daa7 EA-39710 - assert: JavaDescriptorPropertiesResolver.resolveNamedGroupProperties 2012-10-23 18:06:16 +04:00
Natalia.Ukhorskaya 37288a337b #KT-2981 Fixed Show deprecated items after not deprecated in completion list 2012-10-23 13:21:59 +04:00
Natalia.Ukhorskaya a79a31cf01 #KT-2811 Fixed VerifyError on smart-cast 'this' 2012-10-23 13:20:29 +04:00
Nikolay Krasko a3b86f5f8b Special behaviour for space completion char on function literal insertion 2012-10-23 12:14:53 +04:00
Natalia.Ukhorskaya 2abf9ac051 #KT-2945 Fixed Mark deprecated classes, properties and functions in completion 2012-10-22 14:27:45 +04:00
Natalia.Ukhorskaya c112e3e042 Mark deprecated classes, properties and functions in go to action 2012-10-22 14:27:29 +04:00
Andrey Breslav 583dd1564d If t is of type T, comparison (t == null) may be true. No warning in this case 2012-10-20 23:33:50 +04:00
Andrey Breslav d58038d3ef Deparenthesize 'null' before checking the constant expression 2012-10-20 23:33:50 +04:00
Nikolay Krasko 3861bfaaa0 KT-1801 Auto-insert closing angle bracket when entering a generic type parameter
#KT-1801 Fixed
2012-10-19 22:56:15 +04:00
Nikolay Krasko 75bd7d606d Add override annotations - remove warnings 2012-10-19 21:57:19 +04:00
Andrey Breslav e8bd42b691 KT-2729 Warn on 'T?' where 'T' has a nullable upper bound 2012-10-19 19:42:54 +04:00
Andrey Breslav 80039d8533 A warning for redundant '?' in types 2012-10-19 19:24:14 +04:00
Andrey Breslav 92ef1c9417 Some 200 warnings eliminated from stdlib code 2012-10-19 16:17:51 +04:00
Andrey Breslav 57e6d2a2a5 More annotations for java.util.Arrays 2012-10-19 16:17:51 +04:00
Natalia.Ukhorskaya fe689f5e11 Mark deprecated items in StructureView 2012-10-19 15:51:31 +04:00
Natalia.Ukhorskaya aa28a03f61 Mark deprecated items in ProjectView (class, function, property, class-object)
#KT-2944 Fixed Mark deprecated classes in Project Tree
2012-10-19 15:51:30 +04:00
Andrey Breslav 92ff6abf50 Common method used 2012-10-19 13:00:39 +04:00
Andrey Breslav a69b13d67f Caching most popular built-in types and classes 2012-10-19 13:00:12 +04:00
Andrey Breslav 71605638e6 Extract method 2012-10-19 11:31:49 +04:00
Andrey Breslav 9802b23b90 Private helpers made static 2012-10-19 11:31:49 +04:00
Andrey Breslav f4fbbcc3fa Nullability warnings cleaned up with assertions 2012-10-19 11:31:48 +04:00
Andrey Breslav 5dbfe3ca3c Pointless catch removed 2012-10-19 11:31:48 +04:00
Andrey Breslav 4a86255823 Mutable field made volatile:
this is a temporary measure to prevent some artifacts of concurrent access
2012-10-19 11:31:48 +04:00
Andrey Breslav f104567cde Unused fields removed 2012-10-19 11:31:41 +04:00
Andrey Breslav 7719df1002 Properly detect Kotlin built-ins:
Built-in classes like jet.Int and jet.Iterable are loaded from source
files by KotlinBuiltIns class. It makes no sense to create JetLightClass
instances for such classes, moreover, it causes runtime failures.
Now we check the location a file was loaded from before creating a light
class, and skip if it is a built-in.

We also assert this in teh actual generation of light class bodies, and
print out OS information if something fails, because our detection strategy
may depend on OS-specific behavior.
2012-10-18 19:57:18 +04:00