mirror of https://github.com/sveltejs/svelte
parent
3ee8e0b14c
commit
b73052f590
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: make ownership widening more robust to userland proxies
|
@ -0,0 +1,7 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
compileOptions: {
|
||||
dev: true
|
||||
}
|
||||
});
|
@ -0,0 +1,11 @@
|
||||
<script>
|
||||
import { setContext, getContext } from "svelte";
|
||||
|
||||
setContext("", new Proxy({}, {
|
||||
get(){
|
||||
return {}
|
||||
}
|
||||
}));
|
||||
|
||||
getContext("");
|
||||
</script>
|
Loading…
Reference in new issue