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

 
 

bug #31318: Can't call functions in ecmascript

Submitted by:  Jonathan Schmidt-DominĂ© <theuser>
Submitted on:  Tue 12 Oct 2010 08:32:33 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 18 Nov 2010 01:27:58 PM UTCwingoStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1