The `trimIndent` function of the text package in Kotlin doesn't behave as expected
Open
- Dominant language
- Jupyter Notebook
- Stars
- 2.9k
- Forks
- 383
- PR merge metrics
- No merged PRs in 30d
Description
You can refer to the 2nd example in the link below.
http://www.legendu.net/misc/blog/string-functions-kotlin/#trimIndent
According to the doc,
the result of
```
val sql ="""
select
*
from
some_table
where
id = 100
order by
id
""".trimIndent()
sql
```
should be
```
select
*
from
some_table
where
id = 100
order by
id
```
while the Kotlin kernel outputs
```
select
*
from
some_table
where
id = 100
order by
id
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.