Skip to content

Invalid Kotlin code example in reference documentation #882

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

Closed
AntipovAndrey opened this issue Oct 16, 2024 · 0 comments
Closed

Invalid Kotlin code example in reference documentation #882

AntipovAndrey opened this issue Oct 16, 2024 · 0 comments
Assignees
Labels
in: reference documentation Our own reference documentation type: bug Something isn't working
Milestone

Comments

@AntipovAndrey
Copy link
Contributor

https://docs.spring.io/spring-modulith/reference/fundamentals.html
The following code does not compile

modules.forEach(println(it))

Should be

modules.forEach { println(it) }
@odrotbohm odrotbohm changed the title fix Kotlin code example in reference documentation Invalid Kotlin code example in reference documentation Oct 18, 2024
@odrotbohm odrotbohm self-assigned this Oct 18, 2024
@odrotbohm odrotbohm added type: bug Something isn't working in: reference documentation Our own reference documentation labels Oct 18, 2024
@odrotbohm odrotbohm added this to the 1.3 RC1 milestone Oct 18, 2024
@odrotbohm odrotbohm linked a pull request Oct 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: reference documentation Our own reference documentation type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants