override fun visitGoStatement()

in src/main/kotlin/org/jetbrains/tinygoplugin/inspections/TinyGoStatementInspection.kt [27:39]


            override fun visitGoStatement(goStatement: GoGoStatement) {
                super.visitGoStatement(goStatement)
                val project = goStatement.project
                val settings = project.tinyGoConfiguration()
                if (settings.enabled && settings.scheduler == Scheduler.NONE) {
                    problemsHolder.registerProblem(
                        goStatement,
                        inspectionMessage("inspection.go.statement.message"),
                        ProblemHighlightType.GENERIC_ERROR,
                        EDIT_SETTINGS_QUICK_FIX
                    )
                }
            }