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

Function in table constructor conflicts with earlier example #7

Open
ghost opened this issue Nov 19, 2013 · 1 comment
Open

Function in table constructor conflicts with earlier example #7

ghost opened this issue Nov 19, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 19, 2013

-- good
local me = {
fullname = function(self)
return self.first_name + " " + self.last_name
end
}

catwell added a commit to catwell/lua-style-guide that referenced this issue Nov 20, 2013
- better explanation of the length operator
- no functions in table constructors
- spaces after { and before }
@dustingraham
Copy link

I just came to the issues tab to report this.

Still a problem. :)

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

1 participant