Siblings of #3756: untyped-receiver built-in method calls in other languages
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- csharp, go, java, javascript, kotlin, php, python, ruby, typescript
- Área
- tooling
Línea de trabajo
Start with _resolve_one and the _BUILTIN_INSTANCE_METHODS and _BUILTIN_NAMESPACES lists in gitgalaxy/core/call_resolver.py; compare how each language reaches the untyped receiver fallback. Check the TypeScript leftover in zod and use the language Level 2 checks in tests/tools/call_graph_resolution.py where available. Done means the affected built-in calls no longer link confidently to same-named repository methods, with each language's behavior measured or its fallback ruled out.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Siblings: #3756 (fixed for TS/JS in #4990)
Class: a call through an untyped, non-this receiver whose method name is a language built-in (s.trim(), m.get(), list.add()) links confidently (file/import) to a same-named repo method. #4990 fixed it in the resolver's untyped-receiver fallback (_resolve_one, gitgalaxy/core/call_resolver.py) with per-language lists _BUILTIN_INSTANCE_METHODS / _BUILTIN_NAMESPACES, filled only for TypeScript/JavaScript. The fallback itself is language-generic, so the other languages hit by it keep the bug until their lists exist and are measured.
Same mechanism for each box: add the language's built-in instance-method names (and global namespaces where relevant) and measure with that language's Level 2 check where one exists (tests/tools/call_graph_resolution.py). Before adding a list, check that the language really reaches this fallback with built-in names (duplicate search done per member: no open issue found).
- TypeScript leftover:
handleMapResult -> util.ts has@696on zod@2bf7b0630d53, the lastconfident_external, reached by a step #4990 does not cover. Diagnose it. - Python: check whether
calls_out_qualifiers(d.get()on a dict) already covers the whole built-in class (str/list/dict/set methods); pyan Level 2 does not flag lib targets as external, so measure some other way. - Java:
java.lang/java.utilmethods (list.add,map.get,s.equals,toString); scip-java Level 2 is the reference. - Kotlin: stdlib collection/String methods. (#6466)
- C#: BCL methods (
List.Add,Dictionary.TryGetValue,string.Trim); no Level 2 reference yet. - Ruby: core methods (
each,map,include?,[]); no Level 2 reference yet. - PHP: method-only (built-ins are mostly free functions); confirm and close the box if nothing reaches the fallback.
- Go: methods on stdlib types (
strings.Builder.WriteString,bytes.Buffer); confirm whether untyped receivers reach the fallback.
- Lenguaje dominante
- Python
- Estrellas
- 57
- Forks
- 11
- Merge medio
- 1 h 42 min
- PR fusionados (30 d)
- 966
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de squid-protocol/gitgalaxy
-
doc drift: wiki [1]Abiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
squid-protocol/gitgalaxy#8002 ·
Los mantenedores suelen responder en 1 día
-
doc drift: skills [2]Abiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
squid-protocol/gitgalaxy#8000 ·
Los mantenedores suelen responder en 1 día
-
doc drift: tests [1]Abiertodocumentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
squid-protocol/gitgalaxy#8001 ·
Los mantenedores suelen responder en 1 día
-
doc drift: rules and agents [1]Abiertodocumentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
squid-protocol/gitgalaxy#7998 ·
Los mantenedores suelen responder en 1 día
-
doc drift: skills [1]Abiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
squid-protocol/gitgalaxy#7999 ·
Los mantenedores suelen responder en 1 día
Todos los issues de squid-protocol/gitgalaxy
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
igormcsouza/tether#278 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
aws-samples/sample-per-model-bedrock#803 ·
Los mantenedores suelen responder en 1 día
-
documentation p1
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
huggingface/accelerate#4511 ·
Los mantenedores suelen responder en 1 día
-
follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día