Commit Graph

1049 Commits

Author SHA1 Message Date
svtk bda26a18ff little fixes 2011-08-31 14:49:42 +04:00
svtk 6bbcc281ce tests for variance added; little fixes 2011-08-31 14:43:23 +04:00
Alex Tkachman 960aa59822 fix for KT-247 2011-08-31 12:04:07 +02:00
Alex Tkachman b6800059a0 a bit improved diagnostic 2011-08-31 11:06:51 +02:00
Alex Tkachman 1a62b8c0bd String.length property added 2011-08-31 11:01:28 +02:00
Alex Tkachman f01c424eb5 making line # consistent with the one showed in editor (1- instread of 0-based) 2011-08-30 16:37:41 +02:00
Alex Tkachman 1b8f96e53c fix for KT-261 2011-08-30 16:32:41 +02:00
Alex Tkachman efba6c4cb0 workaroound for broken API between builds 2011-08-30 16:29:35 +02:00
Alex Tkachman 4f64a6c7e2 isPrimitive method added 2011-08-30 16:28:49 +02:00
Alex Tkachman 577fc98138 a bit more advanced instruction adapter 2011-08-30 16:27:21 +02:00
Andrey Breslav dddff9cd4f Line:Column reported in AnalyzingUtils 2011-08-30 13:36:55 +04:00
svtk d597d29f2a addition to bug with automatically casting mutable variables fix 2011-08-23 13:08:11 +04:00
svtk 53134d54e4 Merge branch 'master' of ssh://git.labs.intellij.net/jet 2011-08-23 12:50:14 +04:00
svtk 847c727ad0 bug with automatically casting mutable variables (KT-228) fixed 2011-08-23 11:44:56 +04:00
svtk 3f4f0c8737 bug with incorrect merge of data flow info (KT-104) fixed 2011-08-22 19:12:22 +04:00
Maxim Shafirov b3b8a23f4e Get rid of myStack holding intermediate StackValues and use functional style visitor instead. 2011-08-22 18:36:41 +04:00
Andrey Breslav 4571d94c82 BindingTrace & Context refactored to heterogeneous containers 2011-08-22 14:43:59 +04:00
Andrey Breslav a2b779fcd0 Migrating BindingTraceContext to a transactional form 2011-08-17 21:21:44 +04:00
svtk 9ebffafd89 added expected type for assignment and elvis operator
changed return type for safe operator (now it works as a?.b is Nullable type, constructions like a?.b.c need another parsing)
2011-08-17 12:21:26 +04:00
svtk fabf7aab5f little renames 2011-08-16 19:23:26 +04:00
svtk 9fa146f4d5 renamed JetExtendedVisitor to JetVisitor 2011-08-16 17:11:02 +04:00
svtk 948f434d5e renamed JetVisitor to JetVisitorVoid 2011-08-16 17:09:06 +04:00
svtk 57db9b076a added visitor with type parameters (TypeInferrerVisitor now implements it);
added expected type (pass it down the psi tree);
added information about is-checks to type enrichment
2011-08-16 15:52:56 +04:00
svtk ad5e3abbb4 Merge branch 'master' of ssh://git.labs.intellij.net/jet 2011-08-05 17:51:24 +04:00
svtk 671b8913ed frontend bugs fixed:
fun f(): Int = "s" //was ok
  fun g(): Int { if (1 < 2) {} else {} }//was ok
  fun h(): Int { val a = 1 } //was ok
2011-08-05 17:43:32 +04:00
Andrey Breslav 7af188c9be Escaping for types 2011-08-05 14:13:02 +04:00
Andrey Breslav 4c8aec3b1b Compile-time constants 2011-08-03 14:05:07 +04:00
Andrey Breslav 7b27ac1766 Ignore the target of confluence 2011-07-30 11:49:01 -07:00
Andrey Breslav f58af7c737 Jet -> Kotlin 2011-07-30 09:59:50 -07:00
Andrey Breslav febb3531c9 <error="sdfgsg":> 2011-07-30 09:50:04 -07:00
Andrey Breslav a168dd16a1 Maven dependencies
comment style
\r\n
2011-07-30 09:40:29 -07:00
Andrey Breslav e397f880d7 Typos 2011-07-27 10:10:47 -07:00
Dmitry Jemerov a230d1a802 expected parser output 2011-07-27 18:31:42 +02:00
Dmitry Jemerov 20417a4a04 fixed for compatibility with current IDEA 2011-07-27 18:23:58 +02:00
Dmitry Jemerov 88b0a7a45e normalize line breaks in tests 2011-07-27 02:49:24 +02:00
Dmitry Jemerov a99bad7e47 don't crash when appending an array to StringBuilder 2011-07-19 23:37:52 +02:00
Dmitry Jemerov 3dd73b47ec less Jet in the UI 2011-07-19 19:02:06 +02:00
Dmitry Jemerov 5d5710919c kotlin icon 2011-07-19 18:24:10 +02:00
unknown 928747ce8e Comment deleted 2011-07-17 00:02:55 +04:00
Dmitry Jemerov cfca58bc06 support explicit calls to some intrinsic functions 2011-07-15 19:26:05 +02:00
Dmitry Jemerov 3592aff812 methods on objects should always be called via invokevirtual() and not invokeinterface() 2011-07-15 16:31:00 +02:00
Dmitry Jemerov 9bfa61bfb2 accept .kt extension for Kotlin files 2011-07-15 16:20:57 +02:00
Dmitry Jemerov 368f2c77cf stdlib module in examples project 2011-07-15 16:01:21 +02:00
Dmitry Jemerov 4ccdb46165 foo 2011-07-15 16:00:52 +02:00
Dmitry Jemerov 3783a1ded4 create GenerationState in read action 2011-07-15 15:54:55 +02:00
Andrey Breslav 85fbe4ce90 isVariableReassignment for ++ and -- 2011-07-15 17:49:26 +04:00
Dmitry Jemerov 53fb3483a2 correctly update to API change 2011-07-15 15:32:27 +02:00
Dmitry Jemerov bda97c53df generate prefix ++ and -- as intrinsics 2011-07-15 14:24:59 +02:00
Dmitry Jemerov 10d6e584ff we don't need a separate implementation of plusAssign for strings after all 2011-07-15 14:05:02 +02:00
Dmitry Jemerov bf5a525748 generate augmented assignment for number primitives via intrinsics 2011-07-14 20:41:03 +02:00