bobg / bobg/mingo

Consider File.GoVersion

Open
#13 0 comments 1 reaction 0 assignees View on GitHub
enhancement good first issue
Dominant language
Go
Stars
50
Forks
2
Avg merge
14m
Merged PRs (30d)
1

Description

Do not report a version smaller than the `GoVersion` value that may appear in a [*ast.File](https://pkg.go.dev/go/ast#File).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that reports a version and inspect how it reads an ast.File, especially the GoVersion value. Confirm the reported version is not smaller than File.GoVersion, then run the existing test suite and add or update coverage for an ast.File with that value.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
compilers
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.