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

How to determine correctly a lua function call #57

Open
avancinirodrigo opened this issue Nov 19, 2019 · 1 comment
Open

How to determine correctly a lua function call #57

avancinirodrigo opened this issue Nov 19, 2019 · 1 comment
Assignees
Labels
question Further information is requested
Milestone

Comments

@avancinirodrigo
Copy link
Owner

I think that this problem is a recurrent problem to parse script language because it is not typed.

@avancinirodrigo avancinirodrigo added the question Further information is requested label Nov 19, 2019
@avancinirodrigo avancinirodrigo added this to the 0.1 milestone Nov 19, 2019
@avancinirodrigo avancinirodrigo self-assigned this Nov 19, 2019
@avancinirodrigo
Copy link
Owner Author

Problem:
src/lua/doc.lua

   local mLayer_ = {
        fill = function(self, data) --<<< PROBLEM HERE
            local name = self.file or self.database
            if not name then return nil end

            if not layers[name] then
                layers[name] = {attributes = {}}
            end

            local description = "Operation "..data.operation

data/emas.lua

cl:fill{ --<<< PROBLEM HERE
    operation = "presence",
    attribute = "firebreak",
    layer = "firebreak"
}

@avancinirodrigo avancinirodrigo modified the milestones: v1.0.0, v1.1.0 Jul 24, 2020
@avancinirodrigo avancinirodrigo modified the milestones: v2.0.0, v2.1.0 Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant