Skip to content

[TS] Adopt literal types#324

Merged
Lipen merged 1 commit intomainfrom
lipen/literal-types
Aug 20, 2025
Merged

[TS] Adopt literal types#324
Lipen merged 1 commit intomainfrom
lipen/literal-types

Conversation

@Lipen
Copy link
Copy Markdown
Member

@Lipen Lipen commented Aug 19, 2025

This PR bumps jacodb and adopt newly introduced literal types (string/number/boolean).

@Lipen Lipen requested a review from CaelmBleidd August 19, 2025 13:30
is EtsAnyType,
is EtsUnknownType -> true // top types can always have subtypes
is EtsUnknownType,
-> true // top types can always have subtypes

Check warning

Code scanning / detekt

Reports mis-indented code Warning

Unexpected indentation (16) (should be 12)
is EtsAnyType,
is EtsUnknownType -> true // top types can always have subtypes
is EtsUnknownType,
-> true // top types can always have subtypes

Check warning

Code scanning / detekt

Reports multiple space usages Warning

Unnecessary long whitespace
is EtsBooleanType,
is EtsLiteralType -> true // primitives/literals always final
is EtsLiteralType,
-> true // primitives/literals always final

Check warning

Code scanning / detekt

Reports mis-indented code Warning

Unexpected indentation (16) (should be 12)
is EtsBooleanType,
is EtsLiteralType -> true // primitives/literals always final
is EtsLiteralType,
-> true // primitives/literals always final

Check warning

Code scanning / detekt

Reports multiple space usages Warning

Unnecessary long whitespace
is EtsAnyType,
is EtsUnknownType -> true // may represent some value
is EtsUnknownType,
-> true // may represent some value

Check warning

Code scanning / detekt

Reports mis-indented code Warning

Unexpected indentation (16) (should be 12)
is EtsAnyType,
is EtsUnknownType -> true // may represent some value
is EtsUnknownType,
-> true // may represent some value

Check warning

Code scanning / detekt

Reports multiple space usages Warning

Unnecessary long whitespace
is EtsUndefinedType,
is EtsPrimitiveType -> true // literals/primitives have values
is EtsPrimitiveType,
-> true // literals/primitives have values

Check warning

Code scanning / detekt

Reports mis-indented code Warning

Unexpected indentation (16) (should be 12)
is EtsUndefinedType,
is EtsPrimitiveType -> true // literals/primitives have values
is EtsPrimitiveType,
-> true // literals/primitives have values

Check warning

Code scanning / detekt

Reports multiple space usages Warning

Unnecessary long whitespace
is EtsAnyType,
is EtsUnknownType ->
is EtsUnknownType,
->

Check warning

Code scanning / detekt

Reports mis-indented code Warning

Unexpected indentation (16) (should be 12)
is EtsUnclearRefType,
is EtsClassType ->
is EtsClassType,
->

Check warning

Code scanning / detekt

Reports mis-indented code Warning

Unexpected indentation (16) (should be 12)
@Lipen Lipen merged commit 3f9bd62 into main Aug 20, 2025
6 checks passed
@Lipen Lipen deleted the lipen/literal-types branch August 20, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants