just found out about `@DslMarker`. world turned up...
# announcements
k
just found out about
@DslMarker
. world turned upside down, not sure what to think. will sleep on it.
a
why? what's so special about it?
h
same here, https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-dsl-marker/index.html could/should give an example. Is it baked into the compiler or just an annotation?
k
The compiler definitely uses it, there's an elaborate example here: https://kotlinlang.org/docs/reference/type-safe-builders.html
h
Thanks for the pointer