MicrosoftDocs / feedback

📢 docs.microsoft.com site feedback
https://learn.microsoft.com
Creative Commons Attribution 4.0 International
239 stars 160 forks source link

The code example is not aligned with the description. #3115

Open andyhemsft opened 4 years ago

andyhemsft commented 4 years ago

In the page: https://docs.microsoft.com/en-us/bonsai/inkling/types/

In the section "Examples of invalid assignments": The description "The following example generates a compiler error. The value of ZeroTo100 may exceed the permitted values of the enumerated type of OneOrTwo." is not aligned with the example code snippet that it is trying to explain: image

Please correct the example.

Moreover, the another example in the same Section can be removed. image

This example has been mentioned in its more relevant section "Examples of valid assignments" .

welcome[bot] commented 4 years ago

Thank you for creating the issue! One of our team members will get back to you shortly with additional information. If this is a product issue, please close this and contact the particular product's support instead (see https://support.microsoft.com/allproducts for the list of support websites).

JasonWHowell commented 4 years ago

@schavis this is a page you may own. Please take a look at the feedback when you have a chance.

schavis commented 4 years ago

Thanks for the heads up! I've created a bug on our issue board to get that fixed.