sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: net/http: TimeoutHandler hides panic locations
Labels: NeedsInvestigation

Please answer these questions before submitting your issue. Thanks!


### What version of Go are you using (`go version`)?
v1.10.3

### Does this issue reproduce with the latest release?
Not sure, I am finding a solution with my current version

### What operating system and processor architecture are you using (`go env`)?
OS: linux, arch: amd64

### What did you do?

This is a demo
```package main

import (
	"log"
	"net/http"
	"time"
)

type sampleHandler string
func (s sampleHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
	var mm interface{}
	log.Print("This will be panic")
	log.Print(mm.(string))
}

func main() {
	go func() {
		http.ListenAndServe("localhost:8888", http.TimeoutHandler(sampleHandler("sample"), time.Second*10, "Timeout"))
	}()

	time.Sleep(time.Second * 2)
	http.Get("http://localhost:8888/")
}
```

### What did you expect to see?
I expect to see stack trace point to where cause panic (`log.Print(mm.(string))`) so that I can debug app easily

### What did you see instead?
Stack trace point me `panic(p)` statement in `net/http.timeoutHandler`  (`go/src/net/http/server.go:3144`). I know it make sense because that is the place that call `panic`. Are there any good solution to passing stack trace from handler inside `TimeoutHandler`?
Repository: flutter
Issue: Add new features to Dismissible widget
Labels: c: new feature,framework,f: material design,c: proposal,P2,team-design,triaged-design

The Dismissible widget is awesome but has very limited functionality which makes it not usable in many real world applications. Let's consider adding the following features (in order of priority):

1. Allow onResize() callback to get the direction in which the item was dismissed. This is needed to implement two types of functions depending on swipe direction (e.g. bookmark and delete).

2. Add an "undo" function to restore the dismissed item by moving it back to its position. This may be useful in case if user wants to undo the dismiss action.

3. Allow custom animation in the background widgets for example by adding a new callback which gets the slider's position. The animation can be a function of a slider position, like in Google Inbox (resizing the icon on the background).
Repository: TypeScript
Issue: Javascript: Object.assign to assign property values for classes is not respected
Labels: Suggestion,Experience Enhancement

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the *entire* template below.
-->


Perhaps TS should be able to identify `Object.assign(this, ...)` then infer the properties that are assigned to `this`? Or is this not possible to do? I am not sure.

<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->
**TypeScript Version:**  
Version 3.0.3

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
- object assign
- class
- does not exist on type

**Code**
A.js
```js
export default class A {
  constructor ({ x, y, z }) {
    Object.assign(this, {x, y, z});
  }
  f () {
    return this.x;
  }
}
```

**Expected behavior:**
TS should be able to identify `x` as a property of `this`. 

**Actual behavior:**
Throwing:
```
Property 'x' does not exist on type 'A'.
```

**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior -->
http://www.typescriptlang.org/play/#src=export%20default%20class%20A%20%7B%0D%0A%20%20constructor%20(%7B%20x%2C%20y%2C%20z%20%7D)%20%7B%0D%0A%20%20%20%20Object.assign(this%2C%20%7Bx%2C%20y%2C%20z%7D)%3B%0D%0A%20%20%7D%0D%0A%20%20f%20()%20%7B%0D%0A%20%20%20%20return%20this.x%3B%0D%0A%20%20%7D%0D%0A%7D

**Related Issues:** <!-- Did you find other bugs that looked similar? -->
no

**Side Note:**
 I am using TS with Javascript because YouCompleteMe switched to using TSServer for semantic completion. I absolutely love TS so was really happy about the switch! Thanks for the great work!
Repository: flutter
Issue: `flutter screenshot --type=skia` can't record images in real devices
Labels: engine,dependency: skia,P2,team-engine,triaged-engine
Repository: pytorch
Issue: use_system_nccl flag does not work?
Labels: module: build,triaged

I try to use nccl lib on my machine when installing pytorch from source.

What I did is 

`export USE_SYSTEM_NCCL=1`
`export NCCL_ROOT_DIR="~/nccl_2.1.15-1+cuda9.0_x86_64/"`
`export NCCL_LIB_DIR="~/nccl_2.1.15-1+cuda9.0_x86_64/lib"`
`export NCCL_INCLUDE_DIR="~/nccl_2.1.15-1+cuda9.0_x86_64/include/"`

and then

`python setup.py install`


But the installation log shows that

--   USE_MPI               : OFF
--   USE_NCCL              : ON
--     USE_SYSTEM_NCCL     : OFF

idk how to solve it. Anyone can help with it?



cc @malfet @seemethere @walterddr
Repository: go
Issue: net: FileConn() and Dial() only return public net.Conn implementations
Labels: Documentation,NeedsInvestigation

In Go 1.11 and 1.10, the documentation does not say anything about which implementations of `net.Conn` are actually returned by `net.Dial()` (and friends) and `net.FileConn()`.

The current implementations of `net.Dial()` and `net.FileConn()` only return public implementations of `net.Conn` (or an error). Taking advantage of this by type-asserting to the actual implementation returned by these functions/methods is extremely useful. As such, it would be nice to have this behavior documented so users can rely on it.

I'll send out a CL to extend the documentation and a test or two shortly.
Repository: terminal
Issue: Bringing back the console graphics screen-buffers?
Labels: Issue-Feature,Product-Conhost,Area-Output,Area-Server

How hard would it be to bring back the console graphics screen-buffers functionality to conhost, which previously existed in Windows <= 2003 and was used by NTVDM to display the output of graphics DOS applications while being run in windowed mode? (see e.g. https://virtuallyfun.com/wordpress/2009/08/08/softpc-%e2%80%93at-version-3/ ) (hint: done using CreateConsoleScreenBuffer with special parameters.)

This feature could also be useful for those other applications (e.g. some Far-Manager plugins) that attempt through convoluted hacks (aka. giving the illusion) to display graphics contents (e.g. thumbnails of image files) in the console window.
Or for these 3rd-party emulators (DOS, etc...) that can start from the command-line, but are currently forced to create a separate window when starting a graphics app.
Repository: rust
Issue: Improve suggestion for lifetime error in pattern
Labels: C-enhancement,A-diagnostics,A-lifetimes,T-compiler

I ran into [this lifetime issue](https://play.rust-lang.org/?gist=d9584412582bbb07cba97ebae726b86e&version=stable&mode=debug&edition=2015):

```rust
 if let Some(v) = var {
   a.push(&v);
 }
```

which is [easily resolved](https://play.rust-lang.org/?gist=35242df073812059e21e772f084362c9&version=stable&mode=debug&edition=2015) as follows:

```rust
 if let Some(ref v) = var {
   a.push(&v);
 }
```

Perhaps this could be suggested to the user?

/cc @estebank
Repository: pytorch
Issue: [Caffe2] Error C2492: data with thread storage duration may not have dll interface
Labels: caffe2

## Issue description

Getting error C2492 from `caffe2\core\net_async_base.h` when building Caffe2 as DLL on Windows.

```
caffe2\core\net_async_base.h(103): error C2492: 'caffe2::AsyncNetBase::stream_counters_': data with thread storage duration may not have dll interface (compiling source file caffe2\core\net_async_tracing.cc) [build\caffe2\caffe2.vcxproj]
caffe2\core\net_async_base.h(103): error C2492: 'protected: static std::vector<int,std::allocator<int> > caffe2::AsyncNetBase::stream_counters_': data with thread storage duration may not have dll interface (compiling source file caffe2\core\net_async_tracing.cc) [build\caffe2\caffe2.vcxproj]
caffe2\core\net_async_base.h(103): error C2492: 'caffe2::AsyncNetBase::stream_counters_': data with thread storage duration may not have dll interface (compiling source file caffe2\core\net_async_polling.cc) [build\caffe2\caffe2.vcxproj]
caffe2\core\net_async_base.h(103): error C2492: 'protected: static std::vector<int,std::allocator<int> > caffe2::AsyncNetBase::stream_counters_': data with thread storage duration may not have dll interface (compiling source file caffe2\core\net_async_polling.cc) [build\caffe2\caffe2.vcxproj]
caffe2\core\net_async_base.h(103): error C2492: 'caffe2::AsyncNetBase::stream_counters_': data with thread storage duration may not have dll interface (compiling source file caffe2\core\net_async_scheduling.cc) [build\caffe2\caffe2.vcxproj]
caffe2\core\net_async_base.h(103): error C2492: 'protected: static std::vector<int,std::allocator<int> > caffe2::AsyncNetBase::stream_counters_': data with thread storage duration may not have dll interface (compiling source file caffe2\core\net_async_scheduling.cc) [build\caffe2\caffe2.vcxproj]
caffe2\core\net_async_base.h(103): error C2492: 'caffe2::AsyncNetBase::stream_counters_': data with thread storage duration may not have dll interface (compiling source file caffe2\core\net_async_base.cc) [build\caffe2\caffe2.vcxproj]
caffe2\core\net_async_base.h(103): error C2492: 'protected: static std::vector<int,std::allocator<int> > caffe2::AsyncNetBase::stream_counters_': data with thread storage duration may not have dll interface (compiling source file caffe2\core\net_async_base.cc) [build\caffe2\caffe2.vcxproj]
caffe2\core\net_async_base.h(103): error C2492: 'caffe2::AsyncNetBase::stream_counters_': data with thread storage duration may not have dll interface (compiling source file caffe2\core\net_dag.cc) [build\caffe2\caffe2.vcxproj]
caffe2\core\net_async_base.h(103): error C2492: 'protected: static std::vector<int,std::allocator<int> > caffe2::AsyncNetBase::stream_counters_': data with thread storage duration may not have dll interface (compiling source file caffe2\core\net_dag.cc) [build\caffe2\caffe2.vcxproj]
```

## System Info

- PyTorch or Caffe2: Caffe2
- How you installed PyTorch (conda, pip, source): source
- Build command you used (if compiling from source): cmake
- OS: Win10
- PyTorch version: master
- VS version (if compiling from source): 2017 15.8.1
- CMake version: 3.12.1
Repository: go
Issue: testing: document best practices for avoiding compiler optimizations in benchmarks
Labels: Documentation,help wanted,NeedsInvestigation

### What did you do?

1. I wanted to make sure I was creating accurate benchmarks.
2. I found and read [Dave Cheney's 2013 blog post on how to write benchmarks in Go](https://dave.cheney.net/2013/06/30/how-to-write-benchmarks-in-go). In the "A note on compiler optimisations" section he mentions that it is best practice to assign results to local and package level variables to avoid optimizations.
3. I went to https://golang.org/pkg/testing/#hdr-Benchmarks

### What did you expect to see?

I expected to see documentation on how to correctly write benchmarks that avoid compiler optimizations and examples that reflect best practices.

If the techniques described in Dave's blog post are no longer necessary, I expected to see explicit documentation to that effect.

### What did you see instead?

Neither of those things.
Repository: go
Issue: crypto/x509/pkix: Name.String() follows obsolete RFC
Labels: NeedsDecision

Please answer these questions before submitting your issue. Thanks!

The format of a certificate Subject (or Issuer) when made into a String is following RFC 2253 (obsolete) instead of 4514.   Using the same format as given by "openssl x509 -in cert.pem -text -noout" would be much more useful.

### What version of Go are you using (`go version`)?
1.11

### Does this issue reproduce with the latest release?
Yes

### What operating system and processor architecture are you using (`go env`)?
linux, amd64 

### What did you do?
Print the issuer (or subject) dn from an x509 certificat

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

package main

import (
	"crypto/x509"
	"encoding/pem"
	"fmt"
)

func main() {
	rawPem :=
		`-----BEGIN CERTIFICATE-----
MIIDizCCAnOgAwIBAgIJAOnd3oVtvRW4MA0GCSqGSIb3DQEBCwUAMFwxFzAVBgNV
BAMMDnNvbWVkb21haW4uY29tMRcwFQYDVQQKDA5NeSBDb3Jwb3JhdGlvbjETMBEG
A1UECwwKT3JnIFVuaXQgMTETMBEGA1UECwwKT3JnIFVuaXQgMjAeFw0xODA4MzEw
MTE5MzBaFw0xODA5MzAwMTE5MzBaMFwxFzAVBgNVBAMMDnNvbWVkb21haW4uY29t
MRcwFQYDVQQKDA5NeSBDb3Jwb3JhdGlvbjETMBEGA1UECwwKT3JnIFVuaXQgMTET
MBEGA1UECwwKT3JnIFVuaXQgMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBAKCmoAGdRmzfb807ZQw1NAIhdqeKeNi7niZeYrzocBavzHd/6WfsdF/FqLjB
NH6BRwB7j86O7hyETJcfcXnrJGsKcbBTspMjDBHp+XDvoWElfx7W7A1F/ZI51MjK
OZkWFgNl2bGJIvFNAe25fQTlRtjW6/OC+SxXssaHufKjTJDqGo3YlEOvVWcMGXiS
cJBOnDTDABt6caAf9QbPFS6SI7Qq7East5xRATkY3Hz9CM5EU5x6j+frO30gvsQs
eyIRU6vHgKEsnO90hxF0TQtXiI4IrYL/ofa6J7Ncpnerj0/0+6Kw2qgV5qse8/BS
H0AUXwNp9gm/WMDI0ehiwLDUFIcCAwEAAaNQME4wHQYDVR0OBBYEFGl1dJ7BFREN
NK2BF5NDqimHP9zfMB8GA1UdIwQYMBaAFGl1dJ7BFRENNK2BF5NDqimHP9zfMAwG
A1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBADjJ34L0Rrz+suetYK+NKiXG
8dQcbMOYxSFg8HjNB7ZtL97lRpeRwoPx4IjpcbuYtvKdxVuDea0753VNe7Q3qowt
0k3IEgzVTN5fTInFisLQG9jCfkhHByeNrOgLs6qrk8O+6SqMcOgVuNmMzZDhlXj+
9drp70xZtLLUN9zFbFESlFoq8GBd4CeerMNn/eU+ukFI/outLU+0+y9lpXwrHglk
9VGJtB40NiSNfhb8MqNTVgPnyEDTOHEStbYddmDTFXtuvGe5b0+j5DBQao87JPr/
rwUus39HqmFbSZtkxEjFI71Dh4Q0HnoDHM8+GyJohYxqk81fQlJJGW0M2XEWT3g=
-----END CERTIFICATE-----`
	pemBlock, _ := pem.Decode([]byte(rawPem))
	cert, _ := x509.ParseCertificate(pemBlock.Bytes)
	fmt.Printf("%s\n", cert.Issuer)
}

### What did you expect to see?
CN=somedomain.com, O=My Corporation, OU=Org Unit 1, OU=Org Unit 2

### What did you see instead?
CN=somedomain.com,OU=Org Unit 1+OU=Org Unit 2,O=My Corporation
Repository: go
Issue: x/build: add a Windows Server, version 1803 (~"Windows 10") builder
Labels: OS-Windows,Builders,FeatureRequest,new-builder

GCE supports "Windows Server, version 1803":

https://cloud.google.com/compute/docs/instances/windows/

We should run such a builder.

See:
https://go-review.googlesource.com/c/go/+/131976
https://docs.microsoft.com/en-us/windows-server/get-started/get-started-with-1803

It would've prevented #25722.

/cc @johnsonj (who noted these things on CL 131976), @dmitshur
Repository: TypeScript
Issue: A way to specify class properties using JSDoc
Labels: Suggestion,Domain: JavaScript,Experience Enhancement

## Search Terms

JSDoc class properties any key `@property`

## Suggestion

I would like to be able to extend the type of an ES6 class using JSDoc comments, such that TypeScript understands there are other properties that might be added to the object later.

Alternatively, I would like a way to indicate that a given class acts as a container that can contain any possible key.

## Use Cases

I have a class that is used like a DTO. It has some properties that are guaranteed to be there, but is also used for a lot of optional properties. Take, for example:

```js
class DTO {
    constructor(id) {
         /**
          * @type {string}
          */
         this.id = id;
    }
}
```

TypeScript now recognizes the object type, but whenever I try to use other properties, it complains. Currently, I'm resorting to something like this as a work-around:

```js
class DTO {
    constructor(id) {
         /**
          * @type {string}
          */
         this.id = id;

         /**
          * @type {Object?}
          */
         this.otherProperty;
    }
}
```

But it's ugly and verbose, and worse, it includes actual JavaScript code, that serves no purpose other than to provide type information.

## Examples

Rather, what I would like to do is something like this (that I would like to be equivalent to the snippet above):

```js
/**
 * @property {Object} [otherProperty]
 */
class DTO {
    constructor(id) {
         /**
          * @type {string}
          */
         this.id = id;
    }
}
```

Another equivalent alternative could be (but currently doesn't compile because of a "Duplicate identifier" error):

```js
/**
 * @typedef {Object} DTO
 * @property {string} id
 * @property {Object} [otherProperty]
 */
class DTO {
    constructor(id) {
         this.id = id;
    }
}
```

Or, otherwise, some way to indicate this class can be extended with anything. Which means I would like a way to specify the following TypeScript using JSDoc *and* I want it to apply to an existing ES6 class (because I do use the class to be able to do `instanceof` checks):

```ts
interface DTO {
    id: string,
    [key: string]: any,
}
```

## Checklist

My suggestion meets these guidelines:
* [x] This wouldn't be a breaking change in existing TypeScript / JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. new expression-level syntax)
Repository: flutter
Issue: drawercontroller stop at tint screen on both open and close drawer
Labels: framework,f: material design,P3,team-design,triaged-design

1. When drag or click icon to open drawer, drawer didn't open but the screen were tinted.  I can then drag out the drawer.  
2. When trigger `Navigator.pop(context);` The drawer closed but the screen remind tinted, need extra tap to clear.

Tested in android device and emulator, `drawerCallback` simply updated a variable
Code in
```dart
Scaffold(
drawer: DrawerController(child: DrawerOnly(), alignment: DrawerAlignment.start, drawerCallback: drawerCallback),
```
instead of (this works)
```
drawer: DrawerOnly(),
```
Repository: vue
Issue: 2 transition-groups with different tags   v-if / v-else = Cannot read property '$vnode' of null
Labels: improvement,has workaround,transition

### Version
2.5.16

### Reproduction link
[https://codepen.io/anon/pen/BOpJZb](https://codepen.io/anon/pen/BOpJZb)





### Steps to reproduce
1- Open the console
2- Click the button

### What is expected?
In fact I don't know.  I would expect not to see the error but I'm thinking maybe I'm doing something wrong. 

### What is actually happening?
Cannot read property '$vnode' of null appears in the console

<!-- generated by vue-issues. DO NOT REMOVE -->
Repository: vscode
Issue: Allow to compare 3 files
Labels: feature-request,diff-editor

VS Code allows to easily compare two files by choosing `Select for compare` and `Compare with selected`.

But we can only select two files.

`diff3`, `kdiff3` and `vimdiff` do the job but I would prefer it integrated into VS Code.

This would be helpful!

**Edit**: would also be nice to be able to compare 4 files 😄 [vimdiff](http://vimdoc.sourceforge.net/htmldoc/diff.html) and [diffuse](http://diffuse.sourceforge.net/) do
Repository: opencv
Issue: assert fires in imencode for .hdr because the ImageEncoders write into a file instead of buffer
Labels: priority: low,platform: android,category: imgcodecs

##### System information (version)
- OpenCV = 3.4.1 (but probably any)
- Operating System / Platform = Android
- Compiler = GCC (probably more)

##### Detailed description

When trying to save HDR data into a buffer via imencode as .hdr or the programm stops with
```
Error: Assertion failed (code) in bool cv::imencode(const cv::String&, cv::InputArray, std::vector<unsigned char>&, const std::vector<int>&), file /build/master_pack-android/opencv/modules/imgcodecs/src/loadsave.cpp, line 929
```

The problem seems to be that both ImageDecoder classes internally want to write to files instead of the assigned buffer. I don't know if the data will be read back to the buffer, if the encoder was able to write the file. **EDIT** The fallback for encoders that do not support buffer mode uses a temporary file that is then read back into the buffer. I assume that the temporary file cannot be created, resulting in an error.

##### Steps to reproduce
On Android, run this code:
```
std::vector<uchar> buffer;
cv::Mat image(10, 10, CV_32F);
imencode(".hdr", image, buffer)
```
This is probably reproducible outside Android when you run this code in a directory where the user has no write privileges, as the code will try to create the files ".hdr" or respectively.
Repository: rust
Issue: Various FFI run-pass tests probably should be using `repr(C)` as lint is instructing.
Labels: A-testsuite,T-compiler,C-bug,A-repr

The following run-pass tests cause the `improper_ctypes` lint to fire. It would probably be fine (and trivial) to add `#[repr(C)]` to them.

https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/extern-pass-TwoU16s.rs#L17
https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/extern-pass-TwoU32s.rs#L17
https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/extern-pass-TwoU64s.rs#L17
https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/extern-pass-TwoU8s.rs#L17
https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/extern-return-TwoU16s.rs#L13
https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/extern-return-TwoU32s.rs#L13
https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/extern-return-TwoU64s.rs#L13
https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/extern-return-TwoU8s.rs#L13
https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/foreign-fn-with-byval.rs#L14
https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/issue-3656.rs#L23
https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/issue-5754.rs#L13
https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/issue-6470.rs#L14

(I'm just filing this ticket so I have something to point at from a PR for #53764.)


<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":null}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: rust
Issue: run-pass/extern-pass-empty is probably a bogus thing to test
Labels: A-testsuite,A-FFI,P-medium,T-compiler,S-blocked

The following code hits the lint that warns about trying to put `#[repr(C)]` on an empty struct.

https://github.com/rust-lang/rust/blob/c2afca36672a85248f4da3e8db8cdfac198ad4ad/src/test/run-pass/extern-pass-empty.rs#L33-L34

(This seems like a bogus test that was caught by working on fixing #53764.)
Repository: godot
Issue: Load as Image for Android compatability
Labels: enhancement,platform:android,topic:import

**Godot version:**
3.1

**Issue description:**
In 3.1 I have tested the `image.load()` method on the desktop and android and have found that this function does not load a Texture or an Image resource AS an image recognizable on Android.  It only works on the desktop.
However, `image = load()` WILL load an Image resource (not a Texture resource) as an image recognized by Android

To make this work, I have to manually re-import the .png as an Image (default is Texture) then use `image = load()` instead of the built-in `Image.load()` method. 
`Image.load()` method should load a Texture or Image resource as a true Image recognizable on Android.  It should automatically convert a Texture to an image.