Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is the wrong usage? #38

Closed
imfox opened this issue Mar 3, 2018 · 1 comment
Closed

This is the wrong usage? #38

imfox opened this issue Mar 3, 2018 · 1 comment

Comments

@imfox
Copy link

imfox commented Mar 3, 2018

using System;
namespace Game
{
    public static class Test
    {
        public static string name = "fox";
        public static void change()
        {
            Test.name = "not fox";   // error
            // name = "not fox";      // right
        }
    }

    public class DNF_Mobile
    {
        public static void Main() {
            Test.name = "im fox2";
            Test.change();
            System.Console.WriteLine(Test.name);
        }
    }
}

This is the wrong usage?
不能这样用吗?

@imfox imfox changed the title proposal csharp:fun(string x,params int[] a){} to lua:fun(x,...) a={...} end This is the wrong usage? Mar 3, 2018
@yanghuan
Copy link
Owner

yanghuan commented Mar 5, 2018

thanks report ,fix already
d5a95ba

@yanghuan yanghuan closed this as completed Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants