Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

CFML: misleading "parse produced no symbols" warning when only an embedded <cfquery> block fails to parse

Aperta
#2,654 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, sql
Ambito
backend, databases

Direzione di ricerca

The issue identifies files.errors and a CFML example, but names no source files, parser entry points, or tests in codegraph. Start by tracing where the “parse produced no symbols” warning is generated and how embedded <cfquery> parse errors are reported. Done means the warning identifies the failing embedded block without claiming the file contributes nothing; check whether #…# expressions can still be extracted and add coverage for the example.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

Files whose <cfquery> contains SQL split across <cfif> get this warning in files.errors:

parse produced no symbols (tree has errors) — the file is indexed but contributes nothing to the graph

But these files do contribute symbols. Only the sub-parse of the query block fails.

Example

<cfquery name="q" datasource="#dsn#">
	SELECT <cfif arguments.fields IS "count">COUNT(*)<cfelse>p.*</cfif>
	FROM pages p
</cfquery>

contens/model/appsettings/appsettingsdao.cfc has 1 class and 16 methods in the graph, yet it carries the warning above. Our project has 66 DAO/gateway files like this.

Expected

  • The warning names the failing embedded block (<cfquery> at line N) instead of saying that the file contributes nothing.
  • If possible, #…# expressions inside a <cfquery> that fails to parse are still extracted.

(The SQL-fragment parsing itself belongs to tree-sitter-cfml.)

Lingua principale
C
Stelle
73.2k
Fork
4.7k
Merge medio
11h 28m
PR unite (30g)
596

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di colbymchenry/codegraph

Tutte le issue di colbymchenry/codegraph

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.