bugGuile - Bugs: bug #31318, Can't call functions in ecmascript

 
 

bug #31318: Can't call functions in ecmascript

Submitter:  Jonathan Schmidt-DominĂ© <theuser>
Submitted:  Tue 12 Oct 2010 08:32:33 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 18 Nov 2010 01:27:58 PM UTC, comment #1: 

Fixed in git, as noted on the ml. Thanks for the report!

Andy Wingo <wingo>
Group administrator
Tue 12 Oct 2010 08:32:33 PM UTC, original submission:  

Hi!

I get syntax-errors when trying to invoke or define functions in the ecmascript-mode:
cmascript@(guile-user)> alert("Bla");
Throw to key `SyntaxError' with args `("unexpected right parenthesis")' while reading expression.
ecmascript@(guile-user)> function x(y) { return y; }
Throw to key `SyntaxError' with args `("unexpected right parenthesis")' while reading expression.
Throw to key `SyntaxError' with args `("unexpected right brace" #<lexical-token category: lbrace source: #f value: ()>)' while reading expression.

Jonathan

Jonathan Schmidt-Dominé <theuser>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wingo (Posted a comment)
  • -email is unavailable- added by theuser (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-18 wingo StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code