Skip to content

Do not compile #1

@carlopires

Description

@carlopires

Hi,
I was just trying opa, so I downloaded the lastest build version and tried to compile this app:

carlo@carlo-laptop:/tmp/boxopa$ /opt/opa/bin/opa box.opa 
In box.opa [49:67-49:67 | global chars=991-991]
Error at line 49, column 67
The error may be in the following citation, usually in the red part (starting at ⚐) or just before:
<<>
      <div id="content">
        <h1>Welcome</h1>
        <a href="/box/{id}"><img src="http://i.imgur.com/WBbSg.png"/></a>
        <h3>Your box has been created.  Click <a href="/box/{id}">the box</a> to open it!</h3>
        <input type="text" id="perm" value="{box_url(id)}" onclick=⚐"this.select();" />
      </div>
    </body>
  )
)

>>
Hint: File "box.opa", line 49, characters 67-67, (49:67-49:67 | 991-991), Event value should be inside curly braces
Error
Syntax error

The opa version is:

carlo@carlo-laptop:/tmp/boxopa$ /opt/opa/bin/opa --version
Opa compiler (c) MLstate -- version S3.5 -- build 1161

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions