Skip to content

Section Server requests and responses tutorial problem private val tasks cannot be accessed from Routing.kt #800

Description

The current documentation declares tasks as private in TaskRepository.kt, but later accesses it directly from Routing.kt using tasks.tasksAsTable().

This causes a Kotlin compilation error:

Cannot access 'val tasks': it is private in file

Suggested fix:

  • remove private

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions