Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localised Compiler Options #255

Closed
AdamSpeight2008 opened this issue Feb 4, 2018 · 6 comments
Closed

Localised Compiler Options #255

AdamSpeight2008 opened this issue Feb 4, 2018 · 6 comments

Comments

@AdamSpeight2008
Copy link
Contributor

Alternative approach to #135

Using Option Strict Off
  ' ...
End Using
@KathleenDollard
Copy link
Contributor

Is the need for a separate partial class in a different file a real pain point for people?

It is TOTALLY cool to just ping an old issue with your comments and that should bubble up to the top.

That's a fine syntax, but I have not thought much about it. I just wonder if other things, like Await in Catch/Finally are bigger pain points.

@Bill-McC
Copy link

Bill-McC commented Feb 4, 2018

First of: confused re format of these discussions. Ironic really... is a partial class an issue? Is a partial solution to an issue an issue?
The pain point for me is when I know what kind or kinds of data are coming in, but they aren't "Typed". A block strict off doesn't address that, a dynamic or duck type does

@KathleenDollard
Copy link
Contributor

Yes on discussions. GitHub stinks for discussion, but its what we've got.

I think this issue is somewhat separate from yours because this one is strictly providing Option Strict in a narrower scope. But the separate file seems a hack, but a workaround.

@Bill-McC
Copy link

Bill-McC commented Feb 5, 2018

#255 partially addresses my scenario , but not as desirable as #106 or #43. I'm not sure I see the difference between #255 and #117. There's a lot of suggestions around this, and a lot of overlap. Thanks.

@ghost
Copy link

ghost commented Feb 12, 2018

@KathleenDollard
Yes it is really a pain, as I need it often for one or two lines of code.
As it is now I have to add a complete partial class or module with a function in it to write those 2 lines.

@KathleenDollard
Copy link
Contributor

@AdamSpeight2008 Can you clarify why this isn't a duplicate of #117. I'd like to close it as a duplicate if it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants