WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
The current installation location makes all the files visible to tools that use the Windows Indexer, spamming it a bit

Issue 2:
In the Linux world, the convention is to put user-specific application configuration in ~/.folder or ~/.file. In the Windows world, this is not the case. User-specific settings have a well defined place they should go which is ~/AppData/(Local|Roaming|LocalLow).

Details on exactly which of the three folders to use can be found here: http://windows.microsoft.com/en-us/windows-8/what-appdata-folder

Additional information about how to access the different paths can be found here (a bit old, but still valuable):

http://blogs.msdn.com/b/patricka/archive/2010/03/18/where-should-i-store-my-data-and-configuration-files-if-i-target-multiple-os-versions.aspx

Reasoning: ~/.(file|folder) is not hidden on Windows and it is not the place an experienced Windows developer would look for user settings. It also pollutes the user directory which is meant to be the place for user documents and files that they interact with directly (word document, photos, videos, downloads, etc.).
Issue 1:
During installation of new Angular project I get following error (from logs):

20917 error cb() never called!

20918 error This is an error with npm itself. Please report this error at:

20919 error https://npm.community

Issue 2:
I searched other issues, but I didn't find anything that was specifically this issue.

Current Behavior:

With a valid (and working) npm v6 ~/.npmrc that adds authentication for a private registry, npm v7 receives a 401 from the registry for any package (ex: npm i -g npm@7).

Expected Behavior:

npm v7 should authenticate the same way npm v6 does.

Steps To Reproduce:

My current (redacted) npmrc:

progress=true
email="me@company.com"

registry=https://artifactory.company.com/artifactory/api/npm/repo
//artifactory.company.com/artifactory/api/npm/:always-auth=true
//artifactory.company.com/artifactory/api/npm/:username="me@company.com"
//artifactory.company.com/artifactory/api/npm/:password="api_token | base64"

Install fresh node 14:

$ nvm install 14
Downloading and installing node v14.15.1...
Local cache found: ${NVM_DIR}/.cache/bin/node-v14.15.1-darwin-x64/node-v14.15.1-darwin-x64.tar.xz
Checksums match! Using existing downloaded archive ${NVM_DIR}/.cache/bin/node-v14.15.1-darwin-x64/node-v14.15.1-darwin-x64.tar.xz
Now using node v14.15.1 (npm v6.14.8)

Install npm v7 with npm v6 ($HOME redacted):

$ npm i -g npm@7
/$HOME/.nvm/versions/node/v14.15.1/bin/npm -> /$HOME/.nvm/versions/node/v14.15.1/lib/node_modules/npm/bin/npm-cli.js
/$HOME/.nvm/versions/node/v14.15.1/bin/npx -> /$HOME/.nvm/versions/node/v14.15.1/lib/node_modules/npm/bin/npx-cli.js
+ npm@7.0.11
added 51 packages from 19 contributors, removed 238 packages and updated 196 packages in 6.282s

Install npm v7 with npm v7:

$ npm i -g npm@7
npm ERR! code E401
npm ERR! Incorrect or missing password.
npm ERR! If you were trying to login, change your password, create an
npm ERR! authentication token or enable two-factor authentication then
npm ERR! that means you likely typed your password in incorrectly.
npm ERR! Please try again, or recover your password at:
npm ERR! https://www.npmjs.com/forgot
npm ERR!
npm ERR! If you were doing some other operation then your saved credentials are
npm ERR! probably out of date. To correct this please try logging in again with:
npm ERR! npm login

npm ERR! A complete log of this run can be found in:
npm ERR! /$HOME/.npm/_logs/2020-11-16T21_47_31_005Z-debug.log

Environment:

OS: MacOS 10.15.7

Node: 14.15.1, also tested 15.x

npm: 7.0.11
Issue 1:
System information (version)

OpenCV => 3.4.1

Operating System / Platform => Windows 64 Bit and Linux Debian 7 64 Bit

Compiler => Visual Studio 2015 and GCC 4.9.3

Detailed description

Problems with C API in OpenCV 3.4.1.

Any OpenCV 3.x.x and OpenCV 2.x.x works fine, except for OpenCV 3.4.1

When I include opencv2/core/core_c.h file in any C-file source.c and try to compile with OpenCV 3.4.1 - I get errors:

Windows 7x64 MSVS2015:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\cstdint(18): error C2054: expected '(' to follow 'using'

Linux Debian 7 x64 GCC 4.9.3:

/usr/local/include/opencv2/core/cvdef.h:485:1: error: unknown type name ‘namespace’

Steps to reproduce

// C code example
#include "opencv2/core/core_c.h"
int main() {
return 0;
}

Issue 2:
System information (version)

OpenCV => 3.4.1

Operating System / Platform => Linux

Compiler => gcc-7-20180222 (a 7.3.1 snapshot)

vlc-3.0.1 fails to build against opencv-3.4.1, because the C compiler produces and error at line 485 of /usr/include/opencv2/core/cvdef.h. The error message is:

/usr/include/opencv2/core/cvdef.h:485:1: error: unknown type name 'namespace'

This is because the C compiler is trying to compile C++ code.

Steps to reproduce

build and install opencv-3.4.1

configure vlc-3.0.1 to include opencv and then run make

Proposed fix

The following patch to opencv allows the build of vlc to complete:

--- opencv-3.4.1/modules/core/include/opencv2/core/cvdef.h.orig	2018-02-28 10:16:45.000320632 +0000
+++ opencv-3.4.1/modules/core/include/opencv2/core/cvdef.h	2018-02-28 10:34:30.852346927 +0000
@@ -454,6 +454,7 @@ Cv64suf;

// Integer types portatibility
+#if defined __cplusplus
#ifdef OPENCV_STDINT_HEADER
#include OPENCV_STDINT_HEADER
#else
@@ -494,6 +495,9 @@ typedef ::uint64_t uint64_t;
}
#endif
#endif
+#else
+#include <stdint.h>
+#endif

//! @}

With the patched opencv installed, I have also built the frei0r-plugin-1.6.0, gstreamer-plugins-bad-1.12.4 and LiVES-2.8.7, all of which use opencv (although I don't know whether they failed against an unpatched version)
Issue 1:
Per this SO question, using apply() to convert multiple DataFrame columns to categorical does not work unless all columns are categorical.

An MWE demonstrating the issue can be found at this gist for easy copy-paste.

Using this for example data:

import pandas as pd

pdf = pd.DataFrame(dict(name= ('Earl', 'Eve', 'Alan', 'Randall', 'Danielle'),
age= ( 29, 17, 73, 31, 62),
gender= ( 'M', 'F', 'M', 'M', 'F'),
nationality=( 'US', 'UK', 'CAN', 'CAN', 'US'),
height= ( 182.9, 167.6, 175.3, 170.2, 172.8)),
columns=('name', 'age', 'gender', 'nationality', 'height'))
pdf = pdf.set_index('name')
>>> print(pdf)

age gender nationality height
name
Earl 29 M US 182.9
Eve 17 F UK 167.6
Alan 73 M CAN 175.3
Randall 31 M CAN 170.2
Danielle 62 F US 172.8

I tried to use pdf.apply() to convert 'gender' and 'nationality' to categorical columns:

cat_list = {'gender', 'nationality'}
set_cat_list = lambda x: x.astype('category') if x.name in cat_list else x
dfa = pdf.apply(set_cat_list)

>>> print('Applied to subset: dtype={}'.format(dfa['gender'].dtype))
Applied to subset: dtype=object

To make sure that the problem isn't just that I'm never reaching the x.astype('category') branch of the lambda expression, I added in an alert:

in_cl = lambda x: x.name in cat_list
set_cat_list_alert = lambda x: (set_cat_list(x),
sys.stdout.write('{}: {}\n'.format(x.name, in_cl(x))))[0]
dfa = pdf.apply(set_cat_list_alert)
>>> print('Applied to subset: dtype={}'.format(dfa['gender'].dtype))
age: False
age: False
gender: True
nationality: True
height: False
Applied to subset: dtype=object

To verify that it's not just a problem setting any columns as categorical, I tried setting all columns to categorical, which works just fine:

set_cat = lambda x: x.astype('category')
dfb = pdf.apply(set_cat)

>>> print('Applied to whole frame: dtype={}'.format(dfb['gender'].dtype))
Applied to whole frame: dtype=category

Finally, I tried just using a for loop to duplicate the final result, to make sure that mixed categorical / non-categorical columns can coexist like this:

dfc = pdf.copy()
for cat in cat_list:
dfc[cat] = pdf[cat].astype('category')

>>> print('For loop: dtype={}'.format(dfc['gender'].dtype))
For loop: dtype=category

Is this the desired behavior?

Issue 2:
The following raises the error

pandas.Series([0.1, 0.2], index=[1, 2]).loc[[2, 3, 2]]

whilst

pandas.Series([0.1, 0.2], index=[1, 2]).loc[[2, 2, 3]]

does not. Or is there something invalid with this code?
Issue 1:
Environment:

Neo4j version: 3.2.0

Operating system: Linux 3.10.0-327.13.1.el7.x86_64

API/Driver: ( Cypher/Java API)

Steps to reproduce

run query:

MATCH ()-[r0:ACCOUNT_OF]-() WHERE ID(r0)=145073 WITH STARTNODE(r0) AS n, ENDNODE(r0) AS m MATCH p1 = (n)-[*0..1]-() WITH COLLECT(DISTINCT p1) AS startPaths, m MATCH p2 = (m)-[*0..1]-() WITH startPaths, COLLECT(DISTINCT p2) AS endPaths WITH startPaths + endPaths AS paths UNWIND paths AS p RETURN DISTINCT p

Expected behavior

as in earlier version, for example:

(no rows)

Actual behavior

Neo.DatabaseError.General.UnknownError

key not found: UNNAMED108 (different numbers)

it causes to cautch exception in my code:

java.lang.RuntimeException: org.neo4j.ogm.exception.TransactionException: key not found: UNNAMED106

at org.neo4j.ogm.drivers.bolt.request.BoltRequest.executeRequest(BoltRequest.java:176)

at org.neo4j.ogm.drivers.bolt.request.BoltRequest.execute(BoltRequest.java:67)

at org.neo4j.ogm.session.delegates.LoadOneDelegate.load(LoadOneDelegate.java:62)

at org.neo4j.ogm.session.Neo4jSession.load(Neo4jSession.java:155)

Issue 2:
Steps to reproduce

Run cypher query:

MATCH p=(n)-[*0..1]-() RETURN COLLECT(DISTINCT p)

Fails with:

MATCH p=(n)-[*0..]-() RETURN COLLECT(DISTINCT p) ERROR Neo.DatabaseError.General.UnknownError key not found: UNNAMED12

Note that it doesn't fail when the path doesn't have length limit.

Expected behaviour

As in previous versions.

Environment

Neo4j version: 3.2.0

Operating system: XUbuntu 16.04

API/Driver: Cypher/Java API/ neo4j-shell
Issue 1:
ubuntu:~$ flutter doctor
Building flutter tool...
The setter 'readEventsEnabled=' was called on null.
Receiver: null
Tried calling: readEventsEnabled=false
package:pub/src/source/hosted.dart 338 BoundHostedSource._throwFriendlyError
package:pub/src/source/hosted.dart 140 BoundHostedSource.doGetVersions
===== asynchronous gap ===========================
package:pub/src/source.dart 165 BoundSource.getVersions
package:pub/src/solver/version_solver.dart 231 SolverCache.getVersions.<fn>
dart:async runZoned
package:pub/src/http.dart 228 withDependencyType
package:pub/src/solver/version_solver.dart 230 SolverCache.getVersions
===== asynchronous gap ===========================
package:pub/src/solver/unselected_package_queue.dart 121 UnselectedPackageQueue._getNumVersions
===== asynchronous gap ===========================
package:pub/src/solver/unselected_package_queue.dart 50 UnselectedPackageQueue.add
===== asynchronous gap ===========================
package:pub/src/solver/version_selection.dart 68 VersionSelection.select.<fn>
===== asynchronous gap ===========================
dart:async _completeOnAsyncReturn
package:pub/src/solver/version_selection.dart 70 VersionSelection.select.<fn>
dart:async _completeOnAsyncReturn
package:pub/src/solver/unselected_package_queue.dart 54 UnselectedPackageQueue.add
dart:async _completeOnAsyncReturn
package:pub/src/solver/unselected_package_queue.dart 128 UnselectedPackageQueue._getNumVersions
dart:async _Completer.completeError
package:pub/src/solver/version_solver.dart 254 SolverCache.getVersions
dart:async _Completer.completeError
package:pub/src/source/hosted.dart 153 BoundHostedSource.doGetVersions
dart:async _Completer.completeError
package:http/src/base_client.dart 172 BaseClient._sendUnstreamed
dart:async _Completer.completeError
package:http_throttle/http_throttle.dart 51 ThrottleClient.send
dart:async _Completer.completeError
package:pub/src/http.dart 127 _PubHttpClient.send
dart:async _Completer.completeError
package:http/src/io_client.dart 66 IOClient.send
This is an unexpected error. Please run

pub --trace upgrade --verbosity=error --no-packages-dir

and include the logs in an issue on https://github.com/dart-lang/pub/issues/new
Error: Unable to pub upgrade flutter tool. Retrying in five seconds...

Issue 2:
I tried to get all the images from mobile using image_picker package.

But it makes user pick only one image at a time. How to get all the images from mobile automatically?

What package or library use to achieve these kinid of things?
Issue 1:
What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?

Similar issue here:

http://stackoverflow.com/questions/39249704/tensorflow-valueerror-duplicate-feature-column-key-found-for-column

have tried example at

https://www.tensorflow.org/versions/master/tutorials/monitors/index.html

still exhibits same issue

I will look at github deltas in 0.10.0rc0 between 1 above head and see if same fix applied to tf.contrib.learn

Environment info

Operating System:

OS-X 10.11.6 Python 3.5 vi Homebrew

Installed version of CUDA and cuDNN:

N/A

installed from binary pip package:

link to the pip package you installed:

https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.10.0rc0-py3-none-any.whl

The output from python -c "import tensorflow; print(tensorflow.__version__)".

0.10.0rc0

minimal reproducible example (

import tensorflow as tf
import numpy as np

# Data sets
IRIS_TRAINING = "iris_training.csv"
IRIS_TEST = "iris_test.csv"

# Load datasets.
training_set = tf.contrib.learn.datasets.base.load_csv(filename=IRIS_TRAINING,
target_dtype=np.int)
test_set = tf.contrib.learn.datasets.base.load_csv(filename=IRIS_TEST,
target_dtype=np.int)

# Specify that all features have real-value data
feature_columns = [tf.contrib.layers.real_valued_column("", dimension=4)]

# Build 3 layer DNN with 10, 20, 10 units respectively.
classifier = tf.contrib.learn.DNNClassifier(feature_columns=feature_columns,
hidden_units=[10, 20, 10],
n_classes=3,
model_dir="/tmp/iris_model")

# Fit model.
classifier.fit(x=training_set.data,
y=training_set.target,
steps=2000)

# Evaluate accuracy.
accuracy_score = classifier.evaluate(x=test_set.data,
y=test_set.target)["accuracy"]
print('Accuracy: {0:f}'.format(accuracy_score))

# Classify two new flower samples.
new_samples = np.array(
[[6.4, 3.2, 4.5, 1.5], [5.8, 3.1, 5.0, 1.7]], dtype=float)
y = classifier.predict(new_samples)
print('Predictions: {}'.format(str(y)))

What other attempted solutions have you tried?

Referenced head example

Logs or other output that would be helpful

WARNING:tensorflow:Setting feature info to TensorSignature(dtype=tf.float32, shape=TensorShape([Dimension(None), Dimension(4)]), is_sparse=False)

WARNING:tensorflow:Setting targets info to TensorSignature(dtype=tf.int64, shape=TensorShape([Dimension(None)]), is_sparse=False)

WARNING:tensorflow:Given features: Tensor("input:0", shape=(?, 4), dtype=float32), required signatures: TensorSignature(dtype=tf.float32, shape=TensorShape([Dimension(None), Dimension(4)]), is_sparse=False).

WARNING:tensorflow:Given targets: Tensor("output:0", shape=(?,), dtype=int64), required signatures: TensorSignature(dtype=tf.int64, shape=TensorShape([Dimension(None)]), is_sparse=False).

Issue 2:
Consider allowing tensorflow.select to accept scalar conditions. I.e., tf.select(condition, t, e, name=None) with condition a scalar, and t, e having the same shape.
Issue 1:
When serving a pdf in Chrome using the BinaryFileResponse the response hangs (shows as cancelled in network dev tools with a second one started).

I have tracked it down to the Accept-Ranges header that BinaryFileResponse sets:

https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/BinaryFileResponse.php#L158

When I comment out that line it works as expected.

Another solution I found was to add Header unset Accept-Ranges to my .htaccess

I believe this SO question is related: http://stackoverflow.com/questions/1817750/do-most-browsers-make-multiple-http-requests-when-displaying-a-pdf-from-within-t

Any thoughts on this?

Issue 2:
In the binary file response, in the case of a Range headers,

this line seems to be forgotten ;

$this->headers->set('Content-Length', $end - $start + 1);

Otherwise, and ajax request with Chrome or Safari will faill. FF is not impacted
Issue 1:
With the introduction of WeakMap, the JS runtime now has restrictions on where primitive types are disallowed. Is it possible (or planned) to have language support for discriminating from primitive types and the ability to constraint generic types based on that discrimination?

From a previous SO post I made, the answer seems to be "no". But taken in light of WeakMap requirements, perhaps it can be revisited?

var a = 1;
undefined

var b = new Number(a);
undefined

var m = new WeakMap();
undefined

m.set(a, 1)
VM674:2 Uncaught TypeError: Invalid value used as weak map key
at WeakMap.set (native)
at <anonymous>:2:3
at Object.InjectedScript._evaluateOn (<anonymous>:905:140)
at Object.InjectedScript._evaluateAndWrap (<anonymous>:838:34)
at Object.InjectedScript.evaluate (<anonymous>:694:21)(anonymous function) @ VM674:2InjectedScript._evaluateOn @ VM305:905InjectedScript._evaluateAndWrap @ VM305:838InjectedScript.evaluate @ VM305:694

m.set(b, 1)
WeakMap {Number {[[PrimitiveValue]]: 1} => 1}

Issue 2:
The object primitive type

This proposal describe a new primitive type for typescript object.

Use case

JavaScript core api contains some functions that takes object as parameter :

Object.getPrototypeOf

Object.getOwnPropertyDescriptor

Object.create

...etc

Currently there is no way in typescript to prevent passing other primitive type (string, number, etc ...) to those functions.

For example Object.create('string') is a perfectly valid typescript statement, even if it will ends up with an error.

Creating a new object primitive type would allows to model more correctly the signature of those function, and every function that share similar constraint.

Type Checking

Assignability

The object type is the equivalent of {} minus the assignability of other basic type, that means that :

any other basic types are not assignable to object

any non-basic type is assignable to object

object is only assignable to {} and any

This behavior is coherant to how javascript works, the type represent every value that respect the constraint typeof value === 'object' plus undefined.

Type guard

A new type guard has to be introduced for object : typeof value === 'object'.

Optionally the compiler could also accept comparaison with the Object function cast : Object(value) === value.
Issue 1:
I ran giphy of glide version 4.3.0 on Android 6.0.

It seems that animation gif performance is slow on only Android 6.0.

I check on Android 4.4 and Android 7.0, then it seems that animation performance is good.

Is there some option to improve performance of animation of gif ?

Issue 2:
Here is a screen capture of two gifs playing w/ Glide 3.7:

Here is a screen capture of the same two gifs playing w/ Glide 4.2:

GlideApp.with(context)
.load(url)
.diskCacheStrategy(DiskCacheStrategy.ALL)
.into(view);

This happens with any gif that I've tried, here's an example:

https://media.giphy.com/media/3ohjV3cQ9lvPeCVLOg/giphy.gif

Glide Version: 4.2.0

Integration libraries: None

Device/Android Version: Nexus 5, OnePlus One, Pixel
Issue 1:
Challenge Record Collection has an issue.

The line:

var collectionCopy = JSON.parse(stringify(collection));

should be like this:

var collectionCopy = JSON.parse(JSON.stringify(collection));

Cause the challenge saids that we can only change the code below the line:

function updateRecords(id, prop, value) {

and the issue is above this line!

Ps.: I didn't put the solution, just called atention to a issue that make the challenge impossible to be solved!

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17.

Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

// Setup
var collection = {
"2548": {
"album": "Slippery When Wet",
"artist": "Bon Jovi",
"tracks": [
"Let It Rock",
"You Give Love a Bad Name"
]
},
"2468": {
"album": "1999",
"artist": "Prince",
"tracks": [
"1999",
"Little Red Corvette"
]
},
"1245": {
"artist": "Robert Palmer",
"tracks": [ ]
},
"5439": {
"album": "ABBA Gold"
}
};
// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(stringify(collection));

// Only change code below this line
function updateRecords(id, prop, value) {

return collection;

}

// Alter values below to test your code
updateRecords(5439, "artist", "ABBA");

//CORRECT WAY BELOW

// Setup
var collection = {
"2548": {
"album": "Slippery When Wet",
"artist": "Bon Jovi",
"tracks": [
"Let It Rock",
"You Give Love a Bad Name"
]
},
"2468": {
"album": "1999",
"artist": "Prince",
"tracks": [
"1999",
"Little Red Corvette"
]
},
"1245": {
"artist": "Robert Palmer",
"tracks": [ ]
},
"5439": {
"album": "ABBA Gold"
}
};
// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(JSON.stringify(collection));

// Only change code below this line
function updateRecords(id, prop, value) {

if(value !== ""&&prop!="tracks")
{
collection[id][prop]=value;
}

return collection;

}

// Alter values below to test your code
updateRecords(5439, "artist", "ABBA");

Issue 2:
Challenge Record Collection has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36.

Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

// Setup
var collection = {
"2548": {
"album": "Slippery When Wet",
"artist": "Bon Jovi",
tracks: [
"Let It Rock",
"You Give Love a Bad Name"
]
},
"2468": {
"album": "1999",
"artist": "Prince",
"tracks": [
"1999",
"Little Red Corvette"
]
},
"1245": {
"artist": "Robert Palmer",
"tracks": [ ]
},
"5439": {
"album": "ABBA Gold"
}
};
// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(stringify(collection));

// Only change code below this line
function updateRecords(id, prop, value) {

return collection;
}

// Alter values below to test your code
updateRecords(5439, "artist", "ABBA");
Issue 1:

Issue 2:
All metrics output from the ingest segment firehose end up as, for example: output sum ~= (input sum / input partition count). Looking in to the issue now, but it may be due to IngestSegmentFirehose emitting the partition chunks sequentially and out of chronological order as the indexer expects.

How I believe the IngestSegmentFirehose is emitting:

With partitioned segments:

event index
indexer yield
row timestamp
segment
partition

0
0
20150101T000001
20150101T000000/20150101T010000
0

3
1
20150101T000002
. . .
0

6
2
20150101T000003
. . .
0

1
3
20150101T000001
. . .
1

4
4
20150101T000002
. . .
1

7
5
20150101T000003
. . .
1

2
6
20150101T000001
. . .
2

5
7
20150101T000002
. . .
2

8
8
20150101T000003
. . .
2

With unpartitioned segments:

event index
indexer yield
row timestamp
segment
partition

0
0
20150101T000001
20150101T000000/20150101T010000
0

1
1
20150101T000001
. . .
0

2
2
20150101T000001
. . .
0

3
3
20150101T000002
. . .
0

4
4
20150101T000002
. . .
0

5
5
20150101T000002
. . .
0

6
6
20150101T000003
. . .
0

7
7
20150101T000003
. . .
0

8
8
20150101T000003
. . .
0
Issue 1:
Vue.js version

v1.0.25

Steps to reproduce

jsfiddle: https://jsfiddle.net/Belinchung/20ey6q5j/5/

Description

In my app I use v-for to render a list with track-by attribute and insert a duplicate value.

Then an error occurred while trying to replace the array with new objects.

Issue 2:
Version

2.6.10

Reproduction link

https://jsfiddle.net/ngfkoster/9cxmrnsg/60/

Steps to reproduce

Reproduction link shows a custom element with a "value" property expecting an array.

Regular binding fails as expected because it isn't an attribute. Property binding works but transforms the array to a string. Third item shows the expected result created using native code.

What is expected?

v-bind.prop should pass the array

What is actually happening?

v-bind.prop passes the the array as a string

Issue #9138 might be similar.