Logo
Explore Help
Register Sign In
admin/llgo
1
0
Fork 0
You've already forked llgo
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
670f880c78364708a40e75515c548cece9d5c06b
llgo/cl/_testgo/interface1370/in.go

12 lines
207 B
Go
Raw Normal View History

refactor(test): move issue #1370 geometry test to cl/_testgo/interface1370 - Move geometry package from _demo to cl/_testdata/geometry1370 - Create simplified test in cl/_testgo/interface1370 following interface test pattern - Generate .ll file with llgen to verify interface metadata package path fix - Remove old demo files (issue1370_geometry, issue1370_goast, issue1370_gotypes) - Remove .tmp-comment files The new test structure is simpler and follows the existing cl/_testgo/interface pattern, focusing on demonstrating the interface metadata fix for private methods across packages. Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: luoliwoshang <51194195+luoliwoshang@users.noreply.github.com>
2025-10-27 08:03:58 +00:00
package main
import (
"github.com/goplus/llgo/cl/_testdata/geometry1370"
)
func main() {
rect := geometry1370.NewRectangle(5.0, 3.0)
geometry1370.RegisterShape(rect, 42)
println("ID:", rect.GetID())
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 72ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API