I'm creating a function template with an attribute named "name" and when I 
go to create a context with that function template in the global object, I 
get an error:

Object template has duplicate property '%'

The % not being substituted out has been filed as a bug previously.   
However, I know it's "name" because I can set a breakpoint and run:  

p v8::internal::String::cast(*name)->ToAsciiArray()


on it and it says "name".


If I change the name from "name" to anything else, the problem goes away.


It's entirely possible I have a random "name" floating around in my code, 
but with no way that I know of to query what is in a object/function 
template until you create something from it, it's hard for me to be sure.


I'm using v8 version 5.2.0.0.


Thank you.



-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to