Skip to content

Commit

Permalink
add general check for escaping typars to check phase
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyme committed May 12, 2015
1 parent 1251430 commit 53153b8
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 96 deletions.
2 changes: 2 additions & 0 deletions src/fsharp/FSComp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1341,3 +1341,5 @@ estApplyStaticArgumentsForMethodNotImplemented,"A type provider implemented GetS
3183,ppparsUnexpectedToken,"Unexpected token '%s' in preprocessor expression"
3184,ppparsIncompleteExpression,"Incomplete preprocessor expression"
3185,ppparsMissingToken,"Missing token '%s' in preprocessor expression"
3186,checkNotSufficientlyGenericBecauseOfScope,"Type inference caused the type variable %s to escape its scope. Consider adding an explicit type parameter declaration or adjusting your code to be less generic."
3187,checkNotSufficientlyGenericBecauseOfScopeAnon,"Type inference caused an inference type variable to escape its scope. Consider adding type annotations to make your code less generic."
Loading

0 comments on commit 53153b8

Please sign in to comment.