Commits on Jul 27, 2016
  1. @dzharkov

    Add Map.getOrDefault method as PlatformDependent declaration with ref…

    …ined signature
    - First parameter should have type of K instead of Any
    - Special bridge should return second parameter if a key has wrong type
    - Special bridge may throw an exception if defaultValue has wrong type
     #KT-13209 Fixed
    dzharkov committed Jul 27, 2016
  2. @dzharkov

    Refine method's contract and rename it

    Basically what's it checked before is that
    receiver is a valid override of raw version of builtinWithErasedParameters
    While we need to check that method has the same JVM descriptor as builtinWithErasedParameters,
    but it's not a valid override of latter
    It's important for 'getOrDefault(Object k, V value)' ('getOrDefault(K k, V value)' in Kotlin):
    'getOrDefault(Object k, V value)' is not override of 'getOrDefault(Object k, Object value)',
    that leads to incorrect loading of former method (like it's not an override of declaration in Map)
    dzharkov committed Jul 25, 2016
  3. @dzharkov
  4. @dzharkov

    Minor. Fix testData

    dzharkov committed Jul 25, 2016
  5. @konsoletyper

    KT-13160: when decomposing assignment with lhs like `array[index]``, …

    …extract array instead of supporting only ``
    konsoletyper committed Jul 20, 2016
  6. @mglukhikh

    Data flow values: initializers for local variables are now stored as …

    …"bound values" with inherited nullability #KT-6840 Fixed
    mglukhikh committed Jul 25, 2016
  7. @mglukhikh
  8. @mglukhikh
  9. @mglukhikh
  10. @mglukhikh
  11. @mglukhikh
  12. @mglukhikh
  13. @mglukhikh
  14. @dnpetrov

    KT-13241 Indices optimization leads to VerifyError with smart cast re…

    Use expected receiver type from the corresponding extension function.
    dnpetrov committed Jul 27, 2016
  15. @erokhins
  16. @mglukhikh @mglukhikh

    Cast never succeeds: special 'Nothing' / 'Nothing?' case

    (cherry picked from commit 63435b4)
    mglukhikh committed with mglukhikh Jul 26, 2016
  17. @mglukhikh @mglukhikh

    Standard library regenerated

    (cherry picked from commit 68af26c)
    mglukhikh committed with mglukhikh Jul 25, 2016
  18. @mglukhikh @mglukhikh

    kotlin-stdlib-gen: UNCHECKED_CAST instead of CAST_NEVER_SUCCEEDS

    (cherry picked from commit feab6f3)
    mglukhikh committed with mglukhikh Jul 25, 2016
  19. @mglukhikh @mglukhikh

    Suppress CAST_NEVER_SUCCEEDS removed from standard library code

    (cherry picked from commit 7d9aa04)
    mglukhikh committed with mglukhikh Jul 22, 2016
  20. @mglukhikh @mglukhikh

    Suppress CAST_NEVER_SUCCEEDS removed from source code

    (cherry picked from commit d448a92)
    mglukhikh committed with mglukhikh Jul 22, 2016
  21. @mglukhikh @mglukhikh

    CAST_NEVER_SUCCEED: replace subtyping check with subclassing check #K…

    …T-13206 Fixed
    (cherry picked from commit 5fc797a)
    mglukhikh committed with mglukhikh Jul 21, 2016
  22. @mglukhikh @mglukhikh

    KT-13170 related: correct handling of inspection parameters in additi…

    …onal checker
    (cherry picked from commit 47fd990)
    mglukhikh committed with mglukhikh Jul 26, 2016
  23. @mglukhikh @mglukhikh

    Has platform type inspection: do not report by default on Kotlin type…

    …s with platform arguments #KT-13170 Fixed
    Also #KT-12820 Obsolete
    (cherry picked from commit 0589b48)
    mglukhikh committed with mglukhikh Jul 25, 2016
  24. @mglukhikh @mglukhikh

    Can be val inspection: local functions are taken into account #KT-131…

    …51 Fixed
    (cherry picked from commit 57eb4c1)
    mglukhikh committed with mglukhikh Jul 25, 2016
Commits on Jul 26, 2016
  1. @udalov
  2. @udalov

    Fix algorithm of determining modality for fake overrides

    Previously we inferred "open" if there was at least one open member in the
    hierarchy. However, that's not correct when that member is overridden by
    another member in the hierarchy which is abstract. This led to incorrect code
    being accepted by the front-end, and an exception during the bridge generation
     #KT-12467 Fixed
    udalov committed Jul 11, 2016
  3. @goodwinnk

    Minor: remove !!

    goodwinnk committed Jul 25, 2016
  4. @goodwinnk

    Don't store analyze result longer than ModuleResolverProvider valid time

    For synthetic files there might be file modifications without PsiModificationTracker.MODIFICATION_COUNT increment.
    goodwinnk committed Jul 25, 2016
  5. @goodwinnk
  6. @goodwinnk
  7. @goodwinnk

    Remove psi modification tracker from pooled threads (EA-86038, KT-13163)

    IDEA 163 explicitly forbids such tricks with exceptions.
     #KT-13163 Fixed
    goodwinnk committed Jul 22, 2016
  8. @max-kammerer
  9. @max-kammerer

    Fix for KT-13133: Incorrect InnerClasses attribute value for anonymou…

    …s object copied from an inline function
     #KT-13133 Fixed
    max-kammerer committed Jul 22, 2016
  10. @udalov

    Fix KCallable#name intrinsic for bound references

    Do not skip generation of the left-hand side because it may produce side
     #KT-12995 Fixed
    udalov committed Jul 14, 2016
  11. @udalov

    Move tests on* to box/classLiteral/java

    Also replace WITH_REFLECT to WITH_RUNTIME to test that these cases correctly
    work without reflection in the classpath
    udalov committed Jul 15, 2016