Skip to content

Commit

Permalink
Issue deprecation warning for deprecated IndexOf
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach committed May 29, 2016
1 parent ba2205e commit f2e4aad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion std/meta.d
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ unittest
static assert(staticIndexOf!("void", 0, void, "void") == 2);
}

/// Kept for backwards compatibility
// Explicitly undocumented. It will be removed in February 2017. @@@DEPRECATED_2017-02@@@
deprecated("Please use staticIndexOf")
alias IndexOf = staticIndexOf;

/**
Expand Down

0 comments on commit f2e4aad

Please sign in to comment.