Skip to content

Cannot import modules #13

@jonngoyes

Description

@jonngoyes

Describe the bug
A clear and concise description of what the bug is.
I attempted to instantiate a module in my device files but the compiler gives the output:

Input Path: /var/www/fluigicad.org/jobs/tmp__6262cf23b92a3d0017915254/device.lfr
File: /var/www/fluigicad.org/jobs/tmp__6262cf23b92a3d0017915254/device.lfr
line 3:0 mismatched input 'import' expecting 'module'
Stopping compiler because of syntax errors

To Reproduce

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions