Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Issue 838 in v8: Function [[Call]] should return Reference Type
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
codesite-nore...@google.com  
View profile  
 More options Oct 3 2011, 3:17 am
From: codesite-nore...@google.com
Date: Mon, 03 Oct 2011 07:17:23 +0000
Local: Mon, Oct 3 2011 3:17 am
Subject: Re: Issue 838 in v8: Function [[Call]] should return Reference Type
Updates:
        Status: Accepted
        Labels: ES5

Comment #1 on issue 838 by l...@chromium.org: Function [[Call]] should  
return Reference Type
http://code.google.com/p/v8/issues/detail?id=838

This is correct. While V8 never has a function return a Reference, it would  
be against the spirit of ES5 section 16 to consider this an early error  
(unlike, e.g., the assignment "3=4").

The spec isn't entirely clear, due to the wording of the last case where  
Early Errors are required: "Attempts to call PutValue on any value for  
which an early determination can be made that the value is not a Reference  
(for example, executing the assignment statement 3=4)."
V8 can actually determine early that a function call isn't a Reference,  
because it never is in V8, but that seems counter to the intended meaning  
when reading the following sentence: "An implementation shall not treat  
other kinds of errors as early errors even if the compiler can prove that a  
construct cannot execute without error under any circumstances.".


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.