Giter Club home page Giter Club logo

Comments (25)

kkoreilly avatar kkoreilly commented on June 7, 2024

I can not reproduce this. Please tell me which fields it says have the same name; what is the exact output of the program? Also, do you have the latest version of the core tool installed (run go install ./core in the root of this repository).

from core.

ddkwork avatar ddkwork commented on June 7, 2024

from core.

kkoreilly avatar kkoreilly commented on June 7, 2024

Please tell me which fields it says have the same name; what is the exact output of the program?

from core.

ddkwork avatar ddkwork commented on June 7, 2024

from core.

kkoreilly avatar kkoreilly commented on June 7, 2024

The error messages prints which fields have the same name. I am asking which fields have the same name. Can you please copy and paste the exact error message that the program prints?

from core.

ddkwork avatar ddkwork commented on June 7, 2024

from core.

kkoreilly avatar kkoreilly commented on June 7, 2024

I do not understand. The following code should print the names of the conflicting fields:

if nbase == obase {
    slog.Error("programmer error: grease: two fields were assigned the same name", "name", name, "field0", of.Name, "field1", nf.Name)

from core.

ddkwork avatar ddkwork commented on June 7, 2024

from core.

ddkwork avatar ddkwork commented on June 7, 2024

from core.

kkoreilly avatar kkoreilly commented on June 7, 2024

I am available to debug this on your computer now.

from core.

kkoreilly avatar kkoreilly commented on June 7, 2024

Never mind, I can reproduce the issue on my computer now. I will debug this on my computer.

from core.

ddkwork avatar ddkwork commented on June 7, 2024

from core.

ddkwork avatar ddkwork commented on June 7, 2024

from core.

kkoreilly avatar kkoreilly commented on June 7, 2024

Yep, I don't need to debug it on your computer if I can reproduce the issue on mine.

from core.

ddkwork avatar ddkwork commented on June 7, 2024

from core.

ddkwork avatar ddkwork commented on June 7, 2024

oh no
{8575750D-B273-4a19-82FA-52A7957C17FC}

from core.

kkoreilly avatar kkoreilly commented on June 7, 2024

You should be able to access it somehow. It is just the coverage.html file in github.com/cogentcore/core.wiki.

from core.

ddkwork avatar ddkwork commented on June 7, 2024
{740C0A32-536E-4273-B499-29AC278E89F7}

from core.

kkoreilly avatar kkoreilly commented on June 7, 2024

You can't see it on the github website, since they hide wiki repos. You need to clone it on your computer with that URL and then pull the HTML file up in your browser.

from core.

ddkwork avatar ddkwork commented on June 7, 2024
{FE565D94-291A-4fd1-A3F3-2FB20BBE7EF8} {34BD3E4A-85BE-4d08-9019-E622DE7829C1}

from core.

kkoreilly avatar kkoreilly commented on June 7, 2024

The wiki is hidden on GitHub. You need to clone the github.com/cogentcore/core.wiki repository locally and open the coverage.html file in it. Alternatively, I can just send you the file if you want, but it won't stay up-to-date.

from core.

ddkwork avatar ddkwork commented on June 7, 2024
{E597F6D1-5FAF-43c1-8BAA-457A44388552}

from core.

ddkwork avatar ddkwork commented on June 7, 2024

Wiki 在 GitHub 上是隐藏的。您需要在本地克隆存储库并打开其中的文件。或者,如果您愿意,我可以将文件发送给您,但它不会保持最新状态。github.com/cogentcore/core.wiki``coverage.html

send to me please

from core.

ddkwork avatar ddkwork commented on June 7, 2024

this can be debug

package main

import (
	"cogentcore.org/core/core/cmd"
	"cogentcore.org/core/core/config"
	"cogentcore.org/core/core/generate"
	"cogentcore.org/core/grease"
	"cogentcore.org/core/mylog"
	"os"
	"testing"
)

func TestName(t *testing.T) {
	mylog.Error(os.Chdir("../giv"))
	os.Args = []string{
		"",
		"generate",
	}
	opts := grease.DefaultOptions("Cogent Core", "Command line tools for developing apps and libraries using the Cogent Core framework.")
	opts.DefaultFiles = []string{"core.toml"}
	opts.SearchUp = true
	grease.Run(opts, &config.Config{}, cmd.Build, cmd.Run, cmd.Pack, cmd.Install, generate.Generate, cmd.Changed, cmd.Pull, cmd.Log, cmd.Release, cmd.NextRelease)
}

from core.

kkoreilly avatar kkoreilly commented on June 7, 2024

Try downloading this file, renaming it to coverage.html (GitHub doesn't support sending HTML files), and then opening it in your browser.

coverage.txt

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.