Lines Matching full:fix
12 …* Fix: Workaround for [KT-18706][kt-18706]: KotlinPoet now generates import aliases without backti…
35 …* Fix: Don't expand typealiases of function types to `LambdaTypeName`s in `KSTypeReference.toTypeN…
36 * Fix: Avoid rounding small double and float values in `%L` translation (#1927).
37 * Fix: Fix typealias type argument resolution in KSP2 (#1929).
59 * Fix: Prevent name clashes between a function in class and a function call in current scope (#1850…
60 * Fix: Fix extension function imports (#1814).
61 * Fix: Omit implicit modifiers on `FileSpec.scriptBuilder` (#1813).
62 * Fix: Fix trailing newline in `PropertySpec` (#1827).
63 * Fix: `KSAnnotation.toAnnotationSpec` writes varargs in place instead of making them an array to w…
65 * Fix: `MemberName`s without a package are now correctly imported (#1841)
66 * Fix: Throw if primary constructor delegates to other constructors (#1859).
67 * Fix: Aliased imports with nested class (#1876).
68 * Fix: Check for error types in `KSType.toClassName()` (#1890).
69 * Fix: Support generating a single import for overloaded `MemberName`s (#1909).
80 * Fix: Fix issue with missing `suspend` modifier in `KSTypeReference.toTypeName` (#1793).
81 * Fix: Honour same-package import aliases (#1794).
82 * Fix: Always include parameter docs in the type header (#1800).
90 * Fix: Fix nullability of lambdas in `KSTypeReference.toTypeName` (#1756).
106 * Fix: Fix a regression introduced by #1637, where a superfluous newline is added to a type's KDoc
130 * Fix: Set `DecimalFormatSymbols.minusSign` for consistency across locales (#1658).
131 * Fix: Fix link to incremental KSP in KDoc (#1638).
132 * Fix: Emit primary constructor KDoc (#1637).
140 * Fix: Fix one more missing API in binary compatibility override in `Annotatable.Builder` (#1581).
146 * Fix: Restore ABI stability for annotatable and documentable builders (#1580).
162 * Fix: Omit public modifier on override function or constructor parameters (#1550).
163 * Fix: Correct handling of members in various types (#1558).
164 * Fix: Function return types now default to `Unit` unless explicitly set (#1559).
190 To fix it, explicitly define the return type:
204 * Fix: Append nested class names to alias during name lookup (#1568).
205 * Fix: Allow PropertySpec with context receivers and without getter or setter (#1575).
213 * Fix: `KSType.toTypeName` fixed to work with aliased types (#1534).
221 …* Fix: Look at canonical names instead of just package names when generating import aliases (#1519…
222 * Fix: Ignore KSP annotation arguments without a value (#1523).
223 * Fix: Fix arguments handling in `KSType.toTypeName()` (#1529).
239 …* Fix: Fix StackOverflowError when calling `KSTypeArgument.toTypeName()` for a wildcard in a recur…
240 * Fix: Fix transitive aliases (#1306).
241 * Fix: Fix Aliases as TypeArgument (#1321).
242 * Fix: Don't escape special characters inside raw strings (#1331).
243 * Fix: Fix KSP interop's output of the annotation parameter value of type Char (#1338).
244 * Fix: Fix KSP interop's output for primitive arrays (#1340).
245 * Fix: Avoid emitting public if `shouldEmitPublicModifier` returns false (#1342).
246 …* Fix: Fix context receivers being rendered in an incorrect position when on a nullable/suspending…
247 * Fix: Do not use `bestGuess` for `KClass.asClassName` (#1469).
248 * Fix: Handle fake nested types with platform mapped parents (#1472).
249 * Fix: Fix `TypeName` equals (#1477).
250 * Fix: Make equals consistent with compareTo for `ClassName` (#1506).
265 * Fix: Resolve enum constants when emitting types.
266 * Fix: Fix type argument mapping when processing typealiases with KSP.
267 * Fix: Properly unwrap `KSTypeAlias` with an unused type parameter.
268 * Fix: Unwrap nested `KSTypeAlias`-es recursively.
269 * Fix: Add support for context receivers `@PropertySpec` and fix issues with annotations.
270 * Fix: Treat `header` and `impl` as keywords (workaround for KT-52315).
271 * Fix: Use `%N` instead of `%L` for annotation arg names so keywords are handled.
272 * Fix: Improve handling of long `return` expressions.
301 * Fix: Fail compilation if you only pass one string to `ClassName`.
302 * Fix: Inline `val` property if its getter is `inline`.
303 * Fix: Add `yield` to the list of reserved keywords.
304 * Fix: Enforce only allowed parameter modifiers in `ParameterSpec` (i.e. `crossinline`, `vararg`, a…
305 * Fix: Fix `CodeBlock`s in class delegation getting `toString()`'d instead of participating in code…
306 * Fix: Error when attempting to convert KSP error types (i.e. if `KSType.isError` is true) to `Type…
315 * Fix: Don't wrap aliasing imports with long package names.
316 * Fix: Don't wrap type names inside line comments.
317 * Fix: Ignore Java's `@Deprecated` annotations on synthetic methods for annotations.
325 * Fix: Correct generation of typealiases with type args in KSP interop.
326 * Fix: Add missing default `TypeParameterResolver.EMPTY` argument to
345 * Fix: Fix self-referencing type variables in metadata parsing.
346 * Fix: Use delicate APIs rather than noisy logging ones when converting annotation mirrors in
348 * Fix: Update error message when metadata cannot be read to a more actionable one.
349 * Fix: Avoid escaping already escaped strings.
367 * Fix: Escape member names that only contain underscores.
368 * Fix: Always emit an empty primary constructor if it was set via `TypeSpec.primaryConstructor`.
378 * Fix: Ensure `ImmutableKmProperty.toMutable()` copies `fieldSignature`.
379 * Fix: Prevent name clashes between an imported `MemberName` and a member in current scope.
380 * Fix: Prevent name clashes between a type and a supertype with the same name.
381 * Fix: Don't generate empty body for `expect` and `external` functions.
382 * Fix: Don't allow `expect` or `external` classes to initialize supertypes.
383 * Fix: Disallow delegate constructor calls in `external` classes.
384 * Fix: Allow non-public primary constructors inside inline/value classes.
385 * Fix: Allow init blocks inside inline/value classes.
386 * Fix: Omit redundant `abstract` modifiers on members inside interfaces
393 * Fix: Omit visibility modifiers on custom accessors.
399 * Fix: 1.7.0 was published using JDK 11 which set `"org.gradle.jvm.version"` to `"11"` in Gradle
414 * Fix: Don't auto-convert properties with custom accessors to primary constructor properties.
415 * Fix: Don't allow parameterless setters with body.
416 * Fix: Prevent auto-wrapping spaces inside escaped keywords.
445 * Fix: Properly propagate implicit type and function modifiers in nested declarations.
446 * Fix: Properly escape type names containing `$` character.
447 * Fix: Don't emit `LambdaTypeName` annotations twice.
448 * Fix: Preserve tags in `TypeName.copy()`.
465 * Fix: Fix metadata parsing for types.
466 * Fix: Allow file names that are Kotlin keywords.
467 * Fix: Properly escape type alias names with backticks.
468 * Fix: Allow creating `TypeSpec`s with names that can be escaped with backticks.
469 * Fix: Properly escape enum constant names with backticks.
470 * Fix: Maintain proper ordering of properties and initializers when emitting a `TypeSpec`.
473 * Fix: Don't emit a leading new line if type KDoc is empty but parameter KDocs are present.
474 * Fix: Ensure KotlinPoet-metadata resolves package names properly.
480 * Fix: Support reified inline types in KotlinPoet-metadata.
486 * Fix: Don't emit stubs for abstract functions in KotlinPoet-metadata.
492 * Fix: Properly handle abstract elements in KotlinPoet-metadata.
493 * Fix: Properly handle typealiases in KotlinPoet-metadata.
494 * Fix: Properly render % symbols at the end of KDocs.
503 * Fix: Use full package name for shading `auto-common`.
504 * Fix: Support reading self-type variables (e.g. `Asset<A : Asset<A>>`) from Kotlin `Metadata`.
534 * Fix: Properly escape enum constant names.
535 * Fix: Ensure trailing newlines in KDoc and function bodies.
536 * Fix: `TypeVariableName`s with empty bounds will now default to `Any?`.
537 * Fix: Don't emit parens for primary constructors.
538 * Fix: `ClassName`s with empty simple names are not allowed anymore.
539 * Fix: Throw if names contain illegal characters that can't be escaped with backticks.
558 * Fix: Pass only unique originating elements to Filer.
559 * Fix: Fix bug with MemberNames in same package nested inside a class.
568 * Fix: Import members from default package.
569 * Fix: Add non-wrapping spaces in control flow creation methods.
570 * Fix: Named "value" argument being omitted in annotation array types.
581 * Fix: Don't emit visible whitespace in `toString()`.
582 * Fix: Prevent line wrapping in weird places inside function signature.
583 * Fix: No line wrapping between val and property name.
584 * Fix: Allow passing line prefix into `LineWrapper` to enable proper line wrapping in KDoc.
585 * Fix: Add newline for `TypeSpec` Kdoc with no tags.
586 * Fix: Add newline for remaining Specs.
587 * Fix: Fix kdoc formatting for property getter/setters.
588 * Fix: Don't wrap single line comments inside `FunSpec`.
589 * Fix: Add non-wrapping package name.
590 …* Fix: Remove n^2 algorithm in `CodeWriter.resolve()` by precomputing all of the nested simple nam…
591 * Fix: Fix edge case with empty enum classes.
592 * Fix: Fix Nullable Type Parameter handling in `KType.asTypeName()`.
593 * Fix: Fix incorrect long comment wrapping in `FileSpec`.
594 …* Fix: Attach primary constructor param/property KDoc to the element vs emitting it inside the typ…
603 * Fix: Use pre-formatted strings for arguments to %P.
610 * Fix: Prevent wrapping in import statements.
632 * Fix: Emit star-projection only for types with `Any?` upper bound.
633 * Fix: Fold property with escaped name.
654 * Fix: Distinguishing `IntArray` and `Array<Int>` when creating `TypeName`.
655 * Fix: Use `TypeName` instead of `ClassName` as parameter type of `plusParameter()`.
656 * Fix: Keep type-parameter variance when constructing `TypeName` from `KType`.
657 * Fix: Don't validate modifiers when merging properties with primary constructor parameters.
658 * Fix: Escape $ characters in formatted strings.
659 * Fix: `FileSpec.Builder` blank package and subfolder fix.
660 * Fix: Append new line at end of parameter KDoc.
661 * Fix: Add parameter KDoc in `toBuilder()`.
678 * Fix: Use regular indents for parameter lists.
679 * Fix: Inline annotations on properties defined in primary constructor.
680 * Fix: Use `Any?` as the default type variable bounds.
681 * Fix: Fix importing annotated `TypeName`.
682 * Fix: If any primary constructor property has KDoc, put properties on new lines.
683 * Fix: Properly emit where block in type signature.
684 * Fix: Avoid type name collisions in primary constructor.
685 * Fix: Remove implicit `TypeVariable` bound when more bounds are added.
686 * Fix: Combine annotations and modifiers from constructor params and properties.
687 * Fix: Replace delegate constructor args along with the constructor.
706 * Fix: Correct handling of super-classes/interfaces on anonymous classes.
707 * Fix: Fix boundary filtering to `Any?`.
708 * Fix: Wrap long property initializers.
709 * Fix: Fix formatting and indentation of parameter lists.
723 * Fix: Escape function and package names if they are a Kotlin keyword.
724 * Fix: Properly format WildcardTypeName's class declaration.
740 * Fix: Format one parameter per line when there are more than two parameters.
741 * Fix: Don't emit braces when the constructor body is empty.
742 * Fix: Do not invoke superclass constructor when no primary constructor.
743 * Fix: Enforce the right modifiers on functions.
757 * Fix: Don't emit setter parameter types.
758 * Fix: Support Kotlin keywords in `NameAllocator`.
759 * Fix: Emit the right default parameters for primary constructors.
760 * Fix: Format annotations properly when used as parameters.
761 * Fix: Recognize imports when emitting nullable types.
762 * Fix: Call through to the superclass constructor when superclass has a no-args constructor.
763 * Fix: Omit class braces if all properties are declared in primary constructor.
764 * Fix: Don't emit empty class bodies.
765 * Fix: Emit the right syntax for declaring multiple generic type constraints.
766 * Fix: Support properties on objects, companions and interfaces.
767 * Fix: Use `AnnotationSpec` for throws.
783 * Fix: Generate valid annotation classes.
784 * Fix: Use `KModifier` for varargs.
785 * Fix: Use `ParameterizedTypeName` for array types.
786 * Fix: Extract Kotlin name from `KClass` instead of Java name.
787 * Fix: Emit valid class literals: `Double::class` instead of `Double.class`.
788 * Fix: Emit modifiers in the expected order.
789 * Fix: Emit the correct syntax for enum classes and overridden members.
801 * Fix: Inheritance should use `:` instead of `extends` and `implements`.
802 * Fix: Make initializerBlock emit `init {}`.