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 default values for primitive proprties. Add presenting in signature default values #1489

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

BarkingBad
Copy link
Contributor

@BarkingBad BarkingBad commented Sep 18, 2020

class Complex(int: Int, string: String)
const val someConstVal = 1
val someValWithPrimitive = true
val someValWithComplexType = Complex(1, "")
fun someFunWithDefaults(int: Int = 1, string: String = "string") = 1

obraz
obraz

@BarkingBad BarkingBad self-assigned this Sep 18, 2020
This was linked to issues Sep 18, 2020
@BarkingBad BarkingBad marked this pull request as draft September 18, 2020 14:11
@BarkingBad BarkingBad marked this pull request as ready for review September 18, 2020 14:27
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.

Provide value of const properties Reporting values of cont vals.
2 participants