Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for context receivers @PropertySpec and fix issues with annotations #1247

Commits on May 7, 2022

  1. Fix context receiver and annotation order @FunSpec

    Prevent context receivers on accessors
    Add FunSpec tests:
     - Annotated function with context receiver
     - Accessor with context receiver
    Add context receivers to PropertySpec
    Add PropertySpec tests:
     - Var with context receiver
     - Val without getter with context receiver
     - Val with context receiver
     - Annotated val with context receiver
    seriouslyhypersonic committed May 7, 2022
    Copy the full SHA
    3963420 View commit details
    Browse the repository at this point in the history
  2. Fix code style

    seriouslyhypersonic committed May 7, 2022
    Copy the full SHA
    12c60f3 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2022

  1. Fix checks on var with context receivers and custom accessors

    Update tests for vars with context receivers without custom accessors
    Add test for var with context receivers and custom accessors
    Fix code style
    seriouslyhypersonic committed May 9, 2022
    Copy the full SHA
    af5b869 View commit details
    Browse the repository at this point in the history
  2. Update kotlinpoet/src/main/java/com/squareup/kotlinpoet/PropertySpec.kt

    Co-authored-by: Egor Andreevich <github@egorand.dev>
    seriouslyhypersonic and Egorand committed May 9, 2022
    Copy the full SHA
    dc49f40 View commit details
    Browse the repository at this point in the history
  3. Update tests

    seriouslyhypersonic committed May 9, 2022
    Copy the full SHA
    a4366d4 View commit details
    Browse the repository at this point in the history