ReconfigureIO / reco

A command line tool for interacting with Reconfigure.io services
Apache License 2.0
6 stars 3 forks source link

Warn users when they use unsupported standard library imports #42

Open rosieyohannan opened 6 years ago

rosieyohannan commented 6 years ago

Can offer our targeted versions if relevant.

pwaller commented 6 years ago

This shouldn't be too hard to implement in some ways, but is a part of a broader story of how to pass errors out to users, and how we're going to make reco check work.

In terms of how the feature might look, at the moment importing any standard library package is likely to be problematic due to our general lack of support for many language constructs. At least, at the moment I'm not particularly aware of any package that will work.

Another way to approach the issue might be to fail only when unsupported language features are actually used. That is, packages may contain many features, some of which might work and others not. So we need to decide whether to disable standard library packages wholesale or not.